Difference between revisions of "Suaws"
Jump to navigation
Jump to search
(Created page with " suaws () { export AWS_PROFILE=$1 } == See also == * {{aws cli}}") |
|||
Line 1: | Line 1: | ||
− | |||
[[suaws]] () { | [[suaws]] () { | ||
− | + | if [ -z "$1" ]; then | |
+ | echo "possible values: $(aws configure list-profiles)" | ||
+ | else | ||
+ | [[export]] [[AWS_PROFILE]]=$1 | ||
+ | fi | ||
} | } | ||
+ | == See also == | ||
+ | * {{aws cli}} | ||
− | + | [[Category:AWS]] | |
− |
Revision as of 19:27, 9 August 2021
suaws () { if [ -z "$1" ]; then echo "possible values: $(aws configure list-profiles)" else export AWS_PROFILE=$1 fi }
See also
- AWS CLI,
aws
[configure
|iam
|ec2
|ecs
|eks
|s3
|rds
|sts
|cloudwatch
|cloudformation
|cloudfront
|eventbridge
|lambda
],aws configure list
,.aws/credentials
,.aws/config
,~/.aws/cli/alias
,--output [ table | json | text | XXX ]
, Aws cli environmental variables:AWS_PROFILE
,AWS_DEFAULT_REGION, AWS_REGION
,AWS_CLI_AUTO_PROMPT
,AWS_SESSION_TOKEN
,aws list all
,auto-prompt
,--version
,whoamiaws, --filters, --help
Advertising: