Support policy-specific non-compliance messages in initiative assignments
timwebster9 opened this issue · comments
Issue Template
Prerequisites
- I am running the latest version
- I checked the documentation and found no answer
- I checked to make sure that this issue has not already been filed
Context
- Module Version: 2.60
- Terraform Version: 1.2.1
- AzureRM Provider Version: 3.10.0
Expected Behavior
When assigning a policy initiative with the set_assignment
module, you should be able to include a policy reference ID with each non-compliance message so the message only applies to a specific policy:
This is the default Terraform functionality: https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/management_group_policy_assignment#non_compliance_message
Current Behavior
The non-compliance message applies to every policy in the initiative