openstack_compute_availability_zones_v2
For your information
These instructions are a copy of the official OpenStack Terraform provider documentation in the Terraform Registry.
Use this data source to get a list of availability zones from OpenStack
Example Usage
data "openstack_compute_availability_zones_v2" "zones" {}
Argument Reference
region— (Optional) Theregionto fetch availability zones from, defaults to the provider'sregionstate— (Optional) Thestateof the availability zones to match, default ("available").
Attributes Reference
id is set to hash of the returned zone list. In addition, the following attributesare exported:
names— The names of the availability zones, ordered alphanumerically, that match the queriedstate