aws / aws/aws-ec2-instance-connect-cli

Presence of empty AWS_DEFAULT_PROFILE env var breaks the CLI

Open
#36 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
168
Forks
43
PR merge metrics
No merged PRs in 30d

Description

If `AWS_DEFAULT_PROFILE` exists in the environment and is empty:

```shell
❯ AWS_DEFAULT_PROFILE= AWS_PROFILE=not-default-one mssh ubuntu@i-aaaaaaaaaaaaa
The config profile () could not be found
```

Additionally, if `AWS_DEFAULT_PROFILE` is set to anything, the tool ignores any other profile indication and always uses the default profile.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.