Skip to content

Azure Developer CLI not available in Codespaces #174

@p1johnson

Description

@p1johnson

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions