Skip to content

Conversation

@joanteixi
Copy link

Problem

When installing this stack (infra + code) in my Azure tenant, my organization enforces an Azure Policy that requires specific tags to be present in resource groups. This caused deployment errors due to missing required tags.

Solution

I modified the Bicep template by adding a line to ensure resource groups always include both the default tags and any tags supplied as parameters. This update allows the deployment to succeed in environments where Azure Policies mandate tagging.

Details

  • Combines default tags with parameter-supplied tags in the Bicep file infra/main.bicep.
  • Ensures compatibility with organizational policies requiring tagging during resource group creation.

Testing

  • Verified deployment succeeds with Azure Policy enforcing tag requirements.
  • Existing deployments without policy enforcement are unaffected.

Impact

This change helps organizations with mandatory Azure tagging policies successfully deploy the stack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant