Skip to content

chore: Changed Bicep file to add CreatedBy tag#452

Merged
Roopan-Microsoft merged 1 commit intodevfrom
psl-dkmAddCreatedBytag
Sep 3, 2025
Merged

chore: Changed Bicep file to add CreatedBy tag#452
Roopan-Microsoft merged 1 commit intodevfrom
psl-dkmAddCreatedBytag

Conversation

@NirajC-Microsoft
Copy link
Copy Markdown
Contributor

Purpose

This pull request adds automatic tagging of the resource group with template and creator information during deployment. The most important change is the introduction of a new resource that sets tags based on the deployment template name and the deploying user's principal name.

Resource group tagging enhancements:

  • Added a new resourceGroupTags resource in Deployment/main.bicep to automatically tag the resource group with TemplateName (DKM) and CreatedBy (the deploying user's username extracted from their principal name).
  • Utilized the deployer() function to obtain the deploying user's information for tagging purposes.
  • ...

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid

  • ...

Other Information

@Roopan-Microsoft Roopan-Microsoft merged commit 9fa0039 into dev Sep 3, 2025
5 checks passed
@Roopan-Microsoft Roopan-Microsoft deleted the psl-dkmAddCreatedBytag branch September 3, 2025 14:47
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants