Skip to content

chore: update tag to show username of the deployer#75

Merged
Roopan-Microsoft merged 1 commit intodevfrom
psl-tag-bug
Dec 11, 2025
Merged

chore: update tag to show username of the deployer#75
Roopan-Microsoft merged 1 commit intodevfrom
psl-tag-bug

Conversation

@Shreyas-Microsoft
Copy link
Copy Markdown
Collaborator

Purpose

This pull request improves how the CreatedBy tag is set during infrastructure deployments, making it more flexible and informative. The main change is that the CreatedBy tag can now be explicitly overridden or will auto-detect a human-readable identity from the deployment context. Additionally, outputs have been added for easier pre-deployment validation.

Tagging improvements:

  • The createdBy parameter in infra/main.bicep is now optional and, if not provided, will auto-detect a human-readable identity (username or object ID) from the deployment context.
  • The CreatedBy tag in the resource group tags resource now uses the computed deployerIdentityName instead of the raw createdBy parameter.

Pre-deployment validation:

  • New outputs (previewCreatedByTag and previewDeployerInfo) have been added to show what the CreatedBy tag will be and details about the deployer, aiding in validation before deployment.

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

@Shreyas-Microsoft Shreyas-Microsoft changed the title update tag to show username of the deployer chore: update tag to show username of the deployer Dec 11, 2025
@Roopan-Microsoft Roopan-Microsoft merged commit 5451cd6 into dev Dec 11, 2025
4 of 6 checks passed
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.0.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@Priyanka-Microsoft Priyanka-Microsoft deleted the psl-tag-bug branch December 25, 2025 08:57
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