Skip to content

Azure - Unhandled exception error validating Default Security Group #62

@jingalls1217

Description

@jingalls1217

When running ./cdpctl validate infra -c config.yml , encountering an error asking to please run 'az login'. I tried again and first ran this command to login to Azure and it fails with same error. Please let me know if you need additional details.

The following is the error message:

--- An Error Occured ---
An Error occured while running the "Default Security Group exists." validation.
It has the following information:

('Unhandled exception:', CredentialUnavailableError("Please run 'az login' to set up an account"))

(infra/validate_azure_security_groups.py::azure_default_security_group_exists_validation)

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! _pytest.outcomes.Exit: 1 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Screen Shot 2022-05-09 at 4 56 10 PM

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