diff --git a/scripts/source_development_defaults.sh b/scripts/source_development_defaults.sh --- a/scripts/source_development_defaults.sh +++ b/scripts/source_development_defaults.sh @@ -53,3 +53,14 @@ # For development and local testing, point to localstack export LOCALSTACK_ENDPOINT=http://localhost:4566 +export AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID:-test} +export AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY:-test} + +# Create easier-to-use shortcut for localstack +awslocal() { + aws --endpoint-url=http://localhost:4566 "$@" +} +# Enable shell completions +if [[ $(basename "$0") == "bash" ]]; then + complete -C aws_completer awslocal +fi