powerplatform_currencies (Data Source)
Fetches the list of available Dynamics 365 currencies. For more information see Power Platform Currencies
Example Usage
terraform {
required_providers {
powerplatform = {
source = "microsoft/power-platform"
}
}
}
provider "powerplatform" {
use_cli = true
}
data "powerplatform_locations" "all_locations" {}
data "powerplatform_currencies" "all_currencies_by_location" {
location = data.powerplatform_locations.all_locations.locations[0].name
}
Schema
Required
location
(String) Location of the currencies
Optional
id
(Number) Id of the read operationtimeouts
(Attributes) (see below for nested schema)
Read-Only
currencies
(Attributes List) List of available currencies (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 currencies
Read-Only:
code
(String) Code of the locationid
(String) Unique identifier of the currencyis_tenant_default
(Boolean) Is the currency the default for the tenantname
(String) Name of the currencysymbol
(String) Symbol of the currencytype
(String) Type of the currency