Global InfraGlobal Infra Cloud
Public DNS

Record

Terraform reference for Record.

Schema Properties

PropertyTypeDescription
domain
Required
stringThe domain associated with the DNS record
name
string
ttl
Required
integerTime to live for the record
type
Required
stringDNS record type (e.g., A, AAAA, CNAME, etc.)
value
Required
stringThe actual DNS value (e.g., an IP address or CNAME target)
zone_name
Required
stringThe DNS zone this record belongs to
Data Source
data "gi_public_dns_records" "filtered" {  limit = 10  skip  = 0  filter {    field    = "domain"    operator = "eq"    value    = "example-value"  }  sort {    field      = "domain"    descending = false  }}# Access resultsoutput "record_list" {  value = data.gi_public_dns_records.filtered.records[*].attributes.domain}

Usage Notes