exoscale_domain (Resource)
Manage Exoscale DNS Domains.
Corresponding data source: exoscale_domain.
Example Usage
resource "exoscale_domain" "my_domain" {
name = "my.domain"
}Next step is to attach exoscale_domain_record(s) to the domain.
Please refer to the examples directory for complete configuration examples.
Schema
Required
name(String) ❗ The DNS domain name.
Optional
timeouts(Block, Optional) (see below for nested schema)
Read-Only
id(String) The ID of this resource.
Nested Schema for timeouts
Optional:
create(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as “30s” or “2h45m”. Valid time units are “s” (seconds), “m” (minutes), “h” (hours).delete(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as “30s” or “2h45m”. Valid time units are “s” (seconds), “m” (minutes), “h” (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.read(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as “30s” or “2h45m”. Valid time units are “s” (seconds), “m” (minutes), “h” (hours). Read operations occur during any refresh or planning operation when refresh is enabled.update(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as “30s” or “2h45m”. Valid time units are “s” (seconds), “m” (minutes), “h” (hours).
-> The symbol ❗ in an attribute indicates that modifying it, will force the creation of a new resource.
Import
An existing DNS domain may be imported by ID:
terraform import \
exoscale_domain.my_domain \
89083a5c-b648-474a-0000-0000000f67bdLast updated on