Skip to main content

openstack_blockstorage_availability_zones_v3

Last update:
For your information

This instruction is a copy of the official OpenStack Terraform provider documentation in the Terraform Registry.

Use this data source to retrieve 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, the region argument of the provider is used.

  • state - (Optional) The state of the availability zones to match. Can either be available or unavailable. Default is available.

Attributes Reference

id is set to a 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 queried state.