powerplatform_languages (Data Source)
Fetches the list of Dynamics 365 languages. For more information see Power Platform Enable Languages
Example Usage
terraform {
  required_providers {
    powerplatform = {
      source = "microsoft/power-platform"
    }
  }
}
provider "powerplatform" {
  use_cli = true
}
data "powerplatform_locations" "all_locations" {}
data "powerplatform_languages" "all_languages_by_location" {
  location = data.powerplatform_locations.all_locations.locations[0].name
}
Schema
Required
- location(String) Location of the languages
Optional
- id(Number) Id of the read operation
- timeouts(Attributes) (see below for nested schema)
Read-Only
- languages(Attributes List) List of available languages (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 languages
Read-Only:
- display_name(String) Display name of the location
- id(String) Unique identifier of the location
- is_tenant_default(Boolean) Is the location the default for the tenant
- locale_id(Number) Locale ID of the location
- localized_name(String) Localized name of the location
- name(String) Name of the location