Azure / Azure/aca-landing-zone-accelerator

Azure Developer CLI not available in Codespaces

Open
#174 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.