Skip to content

fix: Added deployment tags and dev container fix and PrincipleId param fix#124

Merged
Prajwal-Microsoft merged 2 commits intomicrosoft:mainfrom
Rafi-Microsoft:psl-postreleasefixes
Apr 2, 2026
Merged

fix: Added deployment tags and dev container fix and PrincipleId param fix#124
Prajwal-Microsoft merged 2 commits intomicrosoft:mainfrom
Rafi-Microsoft:psl-postreleasefixes

Conversation

@Rafi-Microsoft
Copy link
Copy Markdown
Contributor

Purpose

This pull request introduces improvements to the infrastructure provisioning process, focusing on better parameter defaults, enhanced tagging for resource groups, and improved environment compatibility for scripts. The main themes are improved automation, traceability, and cross-platform support.

Parameter and Tagging Improvements:

  • Set a default value for the principalId parameter in main.bicep to use the deployer's object ID, reducing the need for manual input and potential errors.
  • Added a new createdBy parameter in main.bicep to capture the deployer's username or object ID, and updated resource group tags to include deployment metadata such as template name, deployment type, creator, and deployment name. This enhances traceability and resource management.
  • Updated principalId in main.bicepparam to read from the AZURE_PRINCIPAL_ID environment variable, improving automation and consistency across deployments.

Script Compatibility:

  • Ensured $env:TEMP is set in preprovision-integrated.ps1, addressing compatibility for Linux environments where this variable may not be defined by default.

Does this introduce a breaking change?

  • Yes
  • No

@Prajwal-Microsoft Prajwal-Microsoft merged commit d7412e8 into microsoft:main Apr 2, 2026
2 checks passed
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

🎉 This PR is included in version 1.2.5 🎉

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