Created
January 23, 2022 17:47
-
-
Save oogali/36984168024506667961145e630698ff to your computer and use it in GitHub Desktop.
Install AWS CLI Endpoint Plugin (Debian Linux)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
pip install --no-deps awscli-plugin-endpoint | |
legacy_plugin_path=$(pip show awscli-plugin-endpoint | awk '/^Location:/ { print $2 }') | |
cat <<EOF>> ${HOME}/.aws/config | |
[plugins] | |
cli_legacy_plugin_path=${legacy_plugin_path} | |
endpoint = awscli_plugin_endpoint | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment