Azure / Azure/aca-landing-zone-accelerator
Azure Developer CLI not available in Codespaces
- Dominant language
- Bicep
- Stars
- 216
- Forks
- 124
- PR merge metrics
- No merged PRs in 30d
Description
I have been following the instructions to do a quick deployment to Azure with the Azure Developer CLI, as described here: https://github.com/Azure/aca-landing-zone-accelerator/blob/main/scenarios/aca-internal/bicep/README.md#deploy-with-the-azure-developer-cli-using-codespaces
The azd command is not recognised, so typing `azd auth login` as described in the steps results in an error message:
`bash: azd: command not found`
Looking at the devcontainer configuration file here `.devcontainer/devcontainer.json` it appears that the Azure Developer CLI is not included in the features. I managed to get the azd command to work by adding the line `"ghcr.io/azure/azure-dev/azd:0": {}` to the features block and rebuilding the codespace.
Contributor guide
Research direction
Start with .devcontainer/devcontainer.json and compare its features with the Codespaces deployment steps in the linked README. Rebuild the Codespace and verify that `azd auth login` is recognized, so the documented quick-deployment flow works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, github
- Domain
- cloud, devops
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100