Skip to content

Commit

Permalink
reduce CloudFormation template size (#2368)
Browse files Browse the repository at this point in the history
  • Loading branch information
PatMyron committed Apr 19, 2022
1 parent e4ffc6e commit 2b3b5b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/sam-translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def transform_template(input_file_path, output_file_path):
region=None,
)
cloud_formation_template = transform(sam_template, {}, ManagedPolicyLoader(iam_client), feature_toggle)
cloud_formation_template_prettified = json.dumps(cloud_formation_template, indent=2)
cloud_formation_template_prettified = json.dumps(cloud_formation_template, indent=1)

with open(output_file_path, "w") as f:
f.write(cloud_formation_template_prettified)
Expand Down

0 comments on commit 2b3b5b4

Please sign in to comment.