powerplatform_environment_templates (Data Source)
Fetches the list of Dynamics 365 environment templates.
Example Usage
terraform {
required_providers {
powerplatform = {
source = "microsoft/power-platform"
}
}
}
provider "powerplatform" {
use_cli = true
}
data "powerplatform_locations" "all_locations" {}
data "powerplatform_environment_templates" "all_environment_templates_by_location" {
location = data.powerplatform_locations.all_locations.locations[0].name
}
Schema
Required
location
(String) Location of the environment templates
Optional
id
(Number) Id of the read operation
Read-Only
environment_templates
(Attributes List) List of available environment templates (see below for nested schema)
Nested Schema for environment_templates
Read-Only:
category
(String) Category of the environment templatedisabled_reason_code
(String) Code of the reason why the environment template is disableddisabled_reason_message
(String) Message of the reason why the environment template is disableddisplay_name
(String) Display name of the environment templateid
(String) Unique identifier of the environment templateis_customer_engagement
(Boolean) Indicates if the environment template is for customer engagementis_disabled
(Boolean) Indicates if the environment template is disabledis_supported_for_reset_operation
(Boolean) Indicates if the environment template is supported for reset operationlocation
(String) Location of the environment templatename
(String) Name of the environment template