Skip to content

frostmoln_regions (Data Source)

List the available regions and their availability zones.

Example Usage

terraform
data "frostmoln_regions" "all" {}

output "region_ids" {
  value = data.frostmoln_regions.all.regions[*].id
}

Schema

Read-Only

Nested Schema for regions

Read-Only:

  • availability_zones (Attributes List) The availability zones within the region. (see below for nested schema)
  • country (String) The ISO country code of the region.
  • description (String) A human-readable description of the region.
  • id (String) The unique identifier of the region.
  • is_default (Boolean) Whether this region is the default region.
  • name (String) The display name of the region.
  • status (String) The status of the region (active, maintenance, deprecated, offline).

Nested Schema for regions.availability_zones

Read-Only:

  • city (String) The city where the availability zone is located.
  • id (String) The unique identifier of the availability zone.
  • is_default (Boolean) Whether this availability zone is the default for its region.
  • name (String) The display name of the availability zone.
  • status (String) The status of the availability zone.