export AWS_REGION=us-east-1
AWS_ACCOUNT_ID=$(aws sts get-caller-identity --query Account --output text)
aws ec2 describe-instances
Chapter 2 of the AWS Cookbook
https://learning.oreilly.com/library/view/aws-cookbook/9781492092599/
export AWS_REGION=us-east-1
AWS_ACCOUNT_ID=$(aws sts get-caller-identity --query Account --output text)
aws ec2 describe-instances
Chapter 2 of the AWS Cookbook
https://learning.oreilly.com/library/view/aws-cookbook/9781492092599/
MIT License