Open bdailey-WWT opened 3 months ago
Hi @bdailey-WWT - this isn't really a bug, so I changed it to a feature request to be able to configure universal tags for all created Azure Resources.
Your organization seems to have put an Azure Policy in place to prevent resources from being created without some sort of tag. This is a very common governance pattern.
You can go and manually add tags to the Azure resource deployments in the bicep files under the infra folder. Here's an example of what it would look like:
resource myResource 'Microsoft.Storage/storageAccounts@2021-04-01' = {
name: 'myStorageAccount'
location: resourceGroup().location
tags: {
environment: 'production'
owner: 'teamA'
}
properties: {
...
}
}
thanks for the heads up. Wasnt sure if it was already a feature and I was missing anything!
Describe the bug Using development container, I cannot create the deployment due to the policy set by company- needs tags
Expected behavior Deployment goes through
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Need a way to modify deployment to pass the needed tags.