Forced lowercase tag names #5365
-
Am I going crazy or does the 0.4.1008 version force the beginning of the name of a Azure resource tag to be lowercase. For example I go to create a resource group with bicep and I pass it the resource group name and a hashtable for the tags. $tagsObject = @{ When I go to check the resource group in Azure all the Tag names have had the first 2 letters turned to lowercase. Any other letter after that is unchanged. environment Has anyone else seen this? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 10 replies
-
Can you share your Bicep file? |
Beta Was this translation helpful? Give feedback.
-
Here is the bicep file.
|
Beta Was this translation helpful? Give feedback.
-
@BethanyZhou This is another query relating to deployments, however on inputs, this time.
As outlined above: The Deployment parameters, when they are an Object, the keys appear to be set to camel case after they are passed in. The visual on this is above on #5365 (reply in thread) I haven't opened an issue on azure/powershell yet, however wanted to check if you had any comment first? |
Beta Was this translation helpful? Give feedback.
-
I'm using Bicep v0.4.1008 This issue can be reproduced in Az.Resources 4.3.1 when passing in with PowerShell as dynamic parameter. I was unable to reproduce this issue in Az.Resources 5.1.0. @brwilkinson Could you help to double confirm this? Checked the template json file generated by bicep, they are same. So maybe something special when passing parameter. I will continue investigate this issue. Sorry for inconvenience. Please try to upgrade to our latest Az.Resources and have a try. @solstone |
Beta Was this translation helpful? Give feedback.
I'm using Bicep v0.4.1008
This issue can be reproduced in Az.Resources 4.3.1 when passing in with PowerShell as dynamic parameter. I was unable to reproduce this issue in Az.Resources 5.1.0. @brwilkinson Could you help to double confirm this?
Checked the template json file generated by bicep, they are same. So maybe something special when passing parameter. I will continue investigate this issue.
Sorry for inconvenience. Please try to upgrade to our latest Az.Resources and have a try. @solstone