Replies: 1 comment 2 replies
-
? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
So my code is:
var Tags = [
{
tagName: 'SubscriptionxxxxOwner'
}
{
tagName: 'PrimaryxxxxContact'
}
{
tagName: 'Secondaryxxxxxxontact'
}
]
resource policyassignment 'Microsoft.Authorization/policyAssignments@2022-06-01' = [ for (rpaTag,index) in Tags: {
name: '${rpaTag.tagName}${index}pol'
scope: managementGroup()
So i am tring to reduce the name as its too many characters. can't go over 24 characters.
i wonder if anyone had any ideas on how to achieve this please? thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions