matchai / spacefish

🚀🐟 The fish shell prompt for astronauts
https://spacefish.matchai.dev
MIT License
964 stars 79 forks source link

feat(aws): Support aws-vault as an option instead of named AWS profiles #206

Closed kouk closed 5 years ago

kouk commented 5 years ago

Description

Update the AWS function to optionally retrieve the profile name from the AWS_VAULT environment variable instead of AWS_PROFILE.

Motivation and Context

When using 99designs/aws-vault the variable AWS_VAULT is set to indicate which profile has been configured in the environment and the AWS_PROFILE environment variable is not set. This commits makes AWS_VAULT override the profile name.

Types of changes

How Has This Been Tested?

Checklist:

matchai commented 5 years ago

@all-contributors please add @kouk for code and test.

allcontributors[bot] commented 5 years ago

@matchai

I've put up a pull request to add @kouk! :tada:

matchai commented 5 years ago

:tada: This PR is included in version 2.7.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: