Skip to content

Commit

Permalink
Backported fix for inventory generation
Browse files Browse the repository at this point in the history
  • Loading branch information
kxseven committed Jun 15, 2021
1 parent 833fb25 commit edb2f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/subcommands/awsh-inventory-report
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ exec 4>&-


# Iterate through each of the AWS Regions for the remaining known resource types
region_list="$(aws ec2 describe-regions --output=text | awk '{print $3}')"
region_list=$(aws ec2 describe-regions | jq -r '.Regions[] | .RegionName')
current_region=$AWS_DEFAULT_REGION

for region in $region_list; do
Expand Down

0 comments on commit edb2f0c

Please sign in to comment.