Skip to content

Conversation

Vamshi-Microsoft
Copy link
Contributor

Purpose

This pull request updates deployment workflows, documentation, and infrastructure configuration to improve resource tagging and enforce compatibility with the latest Azure Developer CLI (azd) version. The main changes include adding detailed resource tags during deployments, updating the required azd version to 1.18.0 or higher, and enhancing documentation to reflect these requirements.

Deployment Workflow Improvements:

  • Added logic in .github/workflows/deploy.yml and .github/workflows/deploy-waf.yml to generate a current UTC timestamp and include it, along with additional metadata, in the tags parameter when deploying resources. This ensures that each deployment is traceable with a creation date and purpose. [1] [2] [3] [4]

Infrastructure Tagging Enhancements:

  • Modified infra/main.bicep to improve the handling of the createdBy tag, using the user's principal name if available or falling back to the object ID, and to add a Type tag based on networking configuration.

Documentation and Version Requirements:

  • Updated azure.yaml, README.md, and docs/DeploymentGuide.md to require azd version 1.18.0 or higher, and added prominent notes and links to ensure users install the correct version before deploying. [1] [2] [3] [4]

Does this introduce a breaking change?

  • Yes
  • No

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

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.

5 participants