zone data source¶
Description¶
ZoneDataSource resolves one existing Route 53 hosted zone. A zone-id reads that zone directly. Otherwise the lookup scans hosted zones and filters by the normalized name, public/private kind, optional VPC id, and optional tag subset until exactly one zone remains.
Source: internal/service/route53/zone_dsrc.go:22
Example usage:
imports: {
aws-route53: 'github.com/cloudboss/unobin-library-aws//service/route53'
}
data-sources: {
example: aws-route53.zone {
# Set input fields here.
}
}
Inputs¶
zone-id
optional(string)
name
optional(string)
private-zone
optional(boolean)
vpc-id
optional(string)
tags
optional(map(string))
Input Constraints¶
Field combinations
At most one of zone-id or name.
Outputs¶
zone-id
string
arn
string
name
string
name-servers
list(string)
primary-name-server
string
caller-reference
string
comment
string
private-zone
boolean
resource-record-set-count
integer
enable-accelerated-recovery
boolean
linked-service-description
string
linked-service-principal
string
tags
map(string)