{
"properties": { —-> the very first statement errors out and cannot save JSON.
trying to deploy following JSON –
{
"properties": {
"displayName": "Enforce Resource Group Tag Values",
"policyType": "Custom",
"mode": "All",
"parameters": {
"tagEnv": {
"type": "String",
"metadata": {
"displayName": "Tag Environment",
"description": "Name of the tag, such as 'environment'"
2
Answers
Here’s an updated policy to enforce tag with multiple possible values.
After applying the policy, it will audit existing resources if the tag does not have three values.
Here’s an updated policy to enforce tag with multiple possible values.
After applying the policy, it will audit existing resources if the tag does not have three values.