diff options
author | Mike Crute <mike@crute.us> | 2017-12-27 21:05:54 +0000 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2017-12-27 21:05:54 +0000 |
commit | 20c27841addb6902ebede3b97259f8892ee38fb3 (patch) | |
tree | eec573f429f96ff061955d84fb3ab5775e158f42 | |
parent | 52fbeb09019836edbc4938129c9022c57dfb2ec4 (diff) | |
download | aws-tools-master.tar.bz2 aws-tools-master.tar.xz aws-tools-master.zip |
-rwxr-xr-x | make_ecs_ami_yaml.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/make_ecs_ami_yaml.py b/make_ecs_ami_yaml.py index dda23da..fc137dd 100755 --- a/make_ecs_ami_yaml.py +++ b/make_ecs_ami_yaml.py | |||
@@ -71,5 +71,4 @@ if len(ami_map) < 4: | |||
71 | raise Exception("Not enough AMIs found") | 71 | raise Exception("Not enough AMIs found") |
72 | 72 | ||
73 | # Output AMI map as YAML | 73 | # Output AMI map as YAML |
74 | print(yaml.dump({"ECSRegionImages": ami_map}, | 74 | print(yaml.dump(ami_map, default_flow_style=False, explicit_start=True)) |
75 | default_flow_style=False, explicit_start=True)) | ||