Difference between revisions of "AWS REGION"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
* <code>[[.aws/config]]</code> | * <code>[[.aws/config]]</code> | ||
* <code>[[aws configure get region]]</code> | * <code>[[aws configure get region]]</code> | ||
+ | * <code>[[aws ec2 describe-regions]] --query "Regions[].{Name:RegionName}" --output text</code> | ||
== See also == | == See also == |
Revision as of 18:10, 11 April 2022
export AWS_REGION=eu-central-1
Related
.aws/config
aws configure get region
aws ec2 describe-regions --query "Regions[].{Name:RegionName}" --output text
See also
aws configure [ list-profiles | sso | sso-session | set ]
,~/.aws/config
,.aws/credentials
,mfa_serial
, AWS cli environmental variables:AWS_PROFILE
,AWS_REGION, AWS_DEFAULT_REGION, AWS_SESSION_TOKEN, AWS_ROLE_SESSION_NAME
,.aws/
, AWS functions,--profile, viawsconfig, viawscredentials
- 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: