Skip to content

Instantly share code, notes, and snippets.

@oogali
Created January 23, 2022 17:47
Show Gist options
  • Save oogali/36984168024506667961145e630698ff to your computer and use it in GitHub Desktop.
Save oogali/36984168024506667961145e630698ff to your computer and use it in GitHub Desktop.
Install AWS CLI Endpoint Plugin (Debian Linux)
#!/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