Install default azure extensions#1566
Conversation
| # Install Azure CLI | ||
| curl -sL https://aka.ms/InstallAzureCLIDeb | bash | ||
|
|
||
| # Configure Azure CLI extensions |
There was a problem hiding this comment.
idk what the common extensions are, so i just picked some that seemed to be, maybe we need to add more?
There was a problem hiding this comment.
Pull Request Overview
This PR addresses OPS-2673 by pre-installing default Azure CLI extensions and ensuring Azure CLI configuration persists across invocations. The changes switch from temporary to persistent Azure configuration directories and install commonly used Azure extensions during container build time.
Key Changes:
- Modified Azure CLI to use persistent configuration directory instead of temporary directories
- Pre-installed default Azure CLI extensions (reservation, resource-graph, costmanagement, billing-benefits, quotas, ssh) in both production and development containers
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| packages/blocks/azure/src/lib/azure-cli.ts | Changed from temporary to persistent Azure config directory to retain installed extensions |
| Dockerfile | Added Azure CLI extensions installation step for production container |
| .devcontainer/Dockerfile | Added Azure CLI extensions installation step for development container |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
MarceloRGonc
left a comment
There was a problem hiding this comment.
Please deploy this to a test environment. We need to check the lambda behaviour.
|
Fixes OPS-2673 --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>



Fixes OPS-2673