Skip to content

Commit

Permalink
Bugfix: Missing region definition in volume_ids()
Browse files Browse the repository at this point in the history
  • Loading branch information
kolargol committed Sep 5, 2017
1 parent 2ee8305 commit 061ecea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion create-ami.sh
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ create_img() {
}

volume_ids() {
aws --output json ec2 describe-conversion-tasks | \
aws --output json --region ${AWS_REGION} ec2 describe-conversion-tasks | \
python2.7 -c 'from __future__ import print_function;import sys,json; [print(task["ImportVolume"]["Volume"]["Id"]) if "Id" in task["ImportVolume"]["Volume"] else None for task in json.load(sys.stdin)["ConversionTasks"]]'
}

Expand Down

0 comments on commit 061ecea

Please sign in to comment.