diff options
-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)) | ||