This data source provides a list of available zones by the enhanced Nat Gateway.
data "alicloud_enhanced_nat_available_zones" "default" {
}
output "zones" {
value = data.alicloud_enhanced_nat_available_zones.default.zones.0.zone_id
}
The following arguments are supported:
ids
- (Optional) A list of alarm IDs.output_file
- (Optional) File name where to save data source results (after running terraform plan
).The following attributes are exported in addition to the arguments listed above:
ids
- (Optional) A list of available zones IDs by the enhanced NAT gateway.zones
- A list of available zones. Each element contains the following attributes:
zone_id
- The ID of the available zone.local_name
- Name of the available zone.