پرش به مطلب اصلی

arvancloud_iaas_regions (Data Source)

Lists all available IaaS regions.

Example Usage

# List all available IaaS regions.
data "arvancloud_iaas_regions" "all" {}

output "regions" {
value = data.arvancloud_iaas_regions.all.regions
}

output "region_code_names" {
value = [for r in data.arvancloud_iaas_regions.all.regions : r.code_name]
}

Schema

Read-Only

  • id (String) Unique identifier for this data source.
  • regions (Attributes List) List of all available IaaS regions. (see below for nested schema)

Nested Schema for regions

Read-Only:

  • availability_zones (List of String) List of availability zone code names within the region.
  • code_name (String) Code name of the region (e.g. ir-central1).
  • group (String) Geographic group of the region (e.g. Iran, Europe).
  • name (String) Human-readable name of the region (e.g. Iran Central 1 (Tehran)).
  • url (String) Base IaaS API URL for the region.