openstack_blockstorage_availability_zones_v3
openstack_blockstorage_availability_zones_v3
For your information
This instruction is a copy of the official OpenStack Terraform provider's OpenStack Terraform documentation in the Terraform Registry.
Use this data source to get a list of Block Storage availability zones from OpenStack
Example Usage
data "openstack_blockstorage_availability_zones_v3" "zones" {}
Argument Reference
-
region
— (Optional) The region in which to obtain the Block Storage client. If omitted, theregion
argument of the provider is used. -
state
— (Optional) Thestate
of the availability zones to match. Can either beavailable
orunavailable
. Default isavailable
.
Attributes Reference
id
is set to hash of the returned zone list. In addition, the following
attributes are exported:
region
— See Argument Reference above.state
— See Argument Reference above.names
— The names of the availability zones, ordered alphanumerically, that match the queriedstate
.