aws / aws/aws-cli

Solution for switching versions of the AWS CLIv2

Open
#8,127 3 comments 1 reaction 0 assignees View on GitHub
feature-request installation p2
Dominant language
Python
Stars
17.3k
Forks
4.6k
Avg merge
1d 2h
Merged PRs (30d)
13

Description

### Describe the feature

Be able to easily install multiple versions of the AWS CLIv2 and easily switch versions (like asdf-vm.com or python venv).

### Use Case

We have different projects using the AWS CLI from Makefiles/shell scripts.

The AWS CLI (luckily!) gets updated very often and it's features are extended and behavior is changed.

For not breaking our projects (when the behavior changed or a feature is not available by the installed AWS CLI) we currently install a specific AWS CLI in a Python virtualenv (using pip).

AWS CLIv2 won't be available on PyPI (to be installed by pip) so we need a different solution.

### Proposed Solution

1. Provide something that installs AWS CLIv2 to a specific location (OS/Machine dependent I guess)
1. Provide an "aws" shim that can be configured (using an environment variable or a file from a parent directoy) to use a specific version of AWS CLIv2

### Other Information

_No response_

### Acknowledgements

- [X] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

### CLI version used

v2

### Environment details (OS name and version, etc.)

Any

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.