powerplatform_locations (Data Source)
Fetches the list of available Dynamics 365 locations. For more information see Power Platform Geos
Example Usage
terraform {
  required_providers {
    powerplatform = {
      source = "microsoft/power-platform"
    }
  }
}
provider "powerplatform" {
  use_cli = true
}
data "powerplatform_locations" "all_locations" {
}
Schema
Optional
- id(Number) Id of the read operation
- timeouts(Attributes) (see below for nested schema)
Read-Only
- locations(Attributes List) List of available locations (see below for nested schema)
Nested Schema for timeouts
Optional:
- read(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
Nested Schema for locations
Read-Only:
- azure_regions(List of String) List of Azure regions
- can_provision_customer_engagement_database(Boolean) Can the location provision a customer engagement database
- can_provision_database(Boolean) Can the location provision a database
- code(String) Code of the location
- display_name(String) Display name of the location
- id(String) Unique identifier of the location
- is_default(Boolean) Is the location default
- is_disabled(Boolean) Is the location disabled
- name(String) Name of the location