Difference between revisions of "Suaws"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
== See also == | == See also == | ||
* {{aws cli}} | * {{aws cli}} | ||
− | |||
− | |||
− | |||
[[Category:AWS]] | [[Category:AWS]] |
Revision as of 08:57, 31 July 2022
suaws () { if [ -z "$1" ]; then echo "Possible values: $(aws configure list-profiles)" else export AWS_PROFILE=$1 export PS1='[\u@\h $AWS_PROFILE]\$ ' fi }
Related terms
SHELL, PS1
aws configure list
.bash_profile, .zprofile
whoamiaws
aws-ec2-describe-instances-all-regions
- AWS Organizations
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: