Open-sourced my dtools CLI
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# shellcheck disable=SC2155
|
||||
declare aws_profile="$(get-aws-profile)"
|
||||
declare aws_region="$(get-aws-region)"
|
||||
|
||||
validate-or-refresh-aws-auth
|
||||
|
||||
bash -c "eval \"\$(aws --profile $aws_profile --region $aws_region configure export-credentials --format env)\"; export AWS_REGION=$aws_region; exec bash"
|
||||
Reference in New Issue
Block a user