Skip to content

Conversation

@Roopan-Microsoft
Copy link
Contributor

Purpose

  • This pull request introduces several changes across multiple files to enhance environment setup, streamline naming conventions, and improve flexibility in deployment configurations. Key updates include replacing hardcoded naming patterns with dynamic abbreviations, introducing new setup scripts, and adding support for customizable solution locations.

Environment Setup Improvements:

  • Replaced the postStartCommand in .devcontainer/devcontainer.json with a new script (setup_env.sh) for better modularity and maintainability. The script handles tasks such as pulling the latest code and setting execute permissions for scripts. [1] [2]

Naming Convention Enhancements:

  • Introduced a comprehensive abbreviations.json file to standardize and centralize naming conventions for various Azure resources. This replaces hardcoded naming patterns in deployment files.
  • Updated infra/deploy_ai_foundry.bicep to dynamically generate resource names using abbreviations from abbreviations.json.

Deployment Configuration Flexibility:

  • Added a solutionLocation parameter across multiple deployment files (deploy_app_service.bicep, deploy_app_service_plan.bicep, deploy_backend_docker.bicep, deploy_frontend_docker.bicep, etc.) to allow specifying custom deployment locations instead of defaulting to the resource group location. [1] [2] [3] [4] [5]
  • Replaced hardcoded resource names with parameters in several deployment files for greater configurability (e.g., infra/deploy_cosmos_db.bicep, infra/deploy_keyvault.bicep, infra/deploy_managed_identity.bicep). [1] [2] [3]

Key Vault Enhancements:

  • Added a new Key Vault resource and role assignment in infra/deploy_backend_docker.bicep to grant the app service access to secrets stored in Key Vault.

These changes collectively improve the modularity, maintainability, and flexibility of the deployment infrastructure.

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

Priyanka-Microsoft and others added 30 commits April 15, 2025 22:58
…vity

feat: process KM sample data manually as part of post-deployment activity
fix: disable purge protection of key vault
…ployment with fallback to resource group location
@Roopan-Microsoft Roopan-Microsoft merged commit 16d6da1 into main May 22, 2025
10 checks passed
@github-actions
Copy link
Contributor

🎉 This PR is included in version 3.3.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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants