Skip to content

error=MissingRegion: could not find region configuration -- still exists in 1.7.0 #83

@felipe1982

Description

@felipe1982

I noted that 3fbd8ba attempts to resolve the error one gets when region is not passed on the command line:

   ⨯ failed                    error=MissingRegion: could not find region configuration

However I still get this error message. I have added the region to both the default and velo profiles in ~/.aws/config.

My command is:
unicreds --profile velo get <mysecret>

Moreover these commands do not work.

AWS_DEFAULT_REGION=ap-southeast-2 unicreds --profile velo get jenkins-ssh-private-key
   ⨯ failed                    error=MissingRegion: could not find region configuration
AWS_REGION=ap-southeast-2 unicreds --profile velo get jenkins-ssh-private-key
   ⨯ failed                    error=NoCredentialProviders: no valid providers in chain. Deprecated.

But this one does
unicreds --profile velo get <mysecret> -r ap-southeast-2

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