A resource for managing Vultr DNS domains, allowing creation and configuration of domain records with an associated IP address.
Provides a Vultr DNS Domain resource. This can be used to create, read, modify, and delete DNS Domains.
Create a new DNS Domain
resource "vultr_dns_domain" "my_domain" {
domain = "domain.com"
ip = "66.42.94.227"
}
The following arguments are supported:
domain
- (Required) Name of domain.ip
- (Optional) Instance IP you want associated to domain. If omitted this will create a domain with no records.dns_sec
- (Optional) The Domain's DNSSEC status. Valid options are enabled
or disabled
. Note disabled
is defaultThe following attributes are exported:
id
- The ID is the name of the domain.domain
- Name of domain.date_created
- The date the domain was added to your account.dns_sec
- The Domain's DNSSEC statusDNS Domains can be imported using the Dns Domain domain
, e.g.
terraform import vultr_dns_domain.name domain.com
No comments yet.