Resource: yet_settings_domain
One of the company's domains: whoever has an address at it may sign in, and with mail, its mail is here — mailboxes, lists, sending.
Note: A domain becomes the company's once its DNS shows it: the TXT record of its yet_settings_domain_claim at its root, or its zone in the company's Cloud answering. Creating this resource checks every 15 seconds for up to 10 minutes; a domain the company has already is taken hold of.
Note: Mail, once on, stays on: mail cannot go back to false. Without mail, destroying the domain leaves it the company's — only Yet's operator lets such a domain go.
Warning: With mail, destroying the domain takes it off the mail server and out of the company. Yet refuses while anyone has a mailbox at it.
Example Usage
# The company's once its TXT answers; then its mail, here.
resource "yet_settings_domain" "br" {
name = yet_settings_domain_claim.br.name
mail = true
depends_on = [yet_cloud_dns_record.proof]
}Schema
Required
name(String) The domain, lowercase:acme.dev.
Optional
mail(Boolean) Whether its mail is here: the domain made on the mail server and in the company's SES, a mailbox for each of its people already in. Its MX must point here for mail to arrive.
Read-Only
id(String) The domain.verified_by(String) What showed the domain the company's:txtorcloud— empty when it was the company's already.
Import
In Terraform v1.5.0 and later, with an import block:
import {
to = yet_settings_domain.br
id = "acme.com.br"
}With terraform import:
# By the domain.
terraform import yet_settings_domain.br acme.com.br