» ucloud_zones
This data source provides a list of available zones in the current region.
» Example Usage
data "ucloud_zones" "example" {}
output "first" {
value = "${data.ucloud_instances.example.zones.0.id}"
}
» Argument Reference
The following arguments are supported:
-
output_file
- (Optional) File name where to save data source results (after runningterraform plan
).
» Attributes Reference
In addition to all arguments above, the following attributes are exported:
-
zones
- It is a nested type which documented below. -
total_count
- Total number of zones that satisfy the condition.
The attribute (zones
) support the following:
-
id
- The ID of availability zone.