diff --git a/bash/lw_aws_inventory.sh b/bash/lw_aws_inventory.sh index a9fa1f6..40418b5 100755 --- a/bash/lw_aws_inventory.sh +++ b/bash/lw_aws_inventory.sh @@ -45,7 +45,7 @@ LAMBDA_FNS=0 LAMBDA_FNS_EXIST="No" function getRegions { - aws --profile $profile ec2 describe-regions --output json | jq -r '.[] | .[] | .RegionName' + aws --profile $profile --region us-east-1 ec2 describe-regions --output json | jq -r '.[] | .[] | .RegionName' } function getInstances {