Skip to content

Commit

Permalink
Merge pull request #344 from cgwalters/ami-include-us-east-1
Browse files Browse the repository at this point in the history
ami-copy-regions: Also include origin region (us-east-1)
  • Loading branch information
openshift-merge-robot authored Oct 3, 2018
2 parents f16d13c + 6851b50 commit 132e919
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/ami-copy-regions
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ for ami in amis:
print("Failed to await: {}".format(ami))

# Write our output JSON
ami_json = []
ami_json = [{'name': args.source_region,
'hvm': args.source_image_id}]
for ami in amis:
ami_json.append({'name': ami.region,
'hvm': ami.iid})
Expand Down

0 comments on commit 132e919

Please sign in to comment.