Difference between revisions of "Suaws"
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
* <code>[[SHELL]], [[PS1]]</code> | * <code>[[SHELL]], [[PS1]]</code> | ||
* <code>[[aws configure list]]</code> | * <code>[[aws configure list]]</code> | ||
− | * <code>[[.bash_profile]]</code> | + | * <code>[[.bash_profile]], [[.zprofile]]</code> |
* <code>[[whoamiaws]]</code> | * <code>[[whoamiaws]]</code> | ||
* [[aws-ec2-describe-instances-all-regions]] | * [[aws-ec2-describe-instances-all-regions]] |
Revision as of 09:20, 18 March 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
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
- AWS CloudFormation: [
aws cloudformation
|create-stack
|list-stacks
|delete-stack
|update-stack
|list-types
|estimate-template-cost
|validate-template
|describe-stacks
|deploy
|drift detection
],aws cloudformation get-template-summary, aws cloudformation describe-stack-events
- AWS CloudFormation,
AWS::CloudFormation
AWS CloudFormation Designer, Drift detection, AWS Cloud Development Kit (CDK),aws cloudformation
,ServicesStack:
, AWS CloudFormation Linter (cfn-lint
), Former2, CloudCraft, Change sets, AWS CloudFormation Public Registry, CloudFormation snippets, CloudFormation templates, StackSets,Outputs:
,Type:
,Fn::Sub
,!Ref
, CloudFormation Parameters, AWS CloudFormation Templates, CloudFormation functions
Advertising: