diff --git a/scripts/ami-copy-regions b/scripts/ami-copy-regions index b3222335..86d17d6d 100755 --- a/scripts/ami-copy-regions +++ b/scripts/ami-copy-regions @@ -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})