---
title: "openstack_sharedfilesystem_availability_zones_v2"
description: ""
sidebar_position: 1
---

# openstack\_sharedfilesystem\_availability\_zones\_v2

:::info

This instruction is a copy of the official OpenStack Terraform provider documentation in the [Terraform Registry](https://registry.terraform.io/providers/terraform-provider-openstack/openstack/latest/docs).

:::

Use this data source to retrieve a list of Shared File System availability zones from OpenStack.

## Example Usage \{#example-usage}

```hcl
data "openstack_sharedfilesystem_availability_zones_v2" "zones" {}
```

## Argument Reference \{#argument-reference}

* `region` - (Optional) The region in which to obtain the V2 Shared File System client. If omitted, the `region` argument of the provider is used.

## Attributes Reference \{#attributes-reference}

`id` is set to a hash of the returned zone list. In addition, the following attributes are exported:

* `region` - See the Argument Reference above.
* `names` - The names of the availability zones, ordered alphanumerically.
