powerplatform_billing_policy_environment (Resource)
This resource allows you to manage the environments associated with a billing policy. A billing policy is a set of rules that define how a tenant is billed for usage of Power Platform services. A billing policy is associated with a billing instrument, which is a subscription and resource group that is used to pay for usage of Power Platform services.
Example Usage
terraform {
required_providers {
powerplatform = {
source = "microsoft/power-platform"
}
}
}
provider "powerplatform" {
use_cli = true
}
resource "powerplatform_billing_policy_environment" "pay_as_you_go_policy_envs" {
billing_policy_id = "00000000-0000-0000-0000-000000000000"
environments = ["00000000-0000-0000-0000-000000000001", "00000000-0000-0000-0000-000000000002"]
}
Schema
Required
billing_policy_id
(String) The id of the billing policyenvironments
(Set of String) The environments associated with the billing policy