exoscale_domain (Data Source)
Fetch Exoscale DNS Domains data.
Corresponding resource: exoscale_domain.
Example Usage
data "exoscale_domain" "my_domain" {
name = "my.domain"
}
output "my_domain_id" {
value = data.exoscale_domain.my_domain.id
}Please refer to the examples directory for complete configuration examples.
Schema
Required
name(String) The DNS domain name to match.
Optional
timeouts(Block, Optional) (see below for nested schema)
Read-Only
id(String) The ID of this resource.
Nested Schema for timeouts
Optional:
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.
Last updated on