Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
Disable pretty printing of cfn template.
Browse files Browse the repository at this point in the history
indent=None ensures most compact json respresentation thus evading the
51200 bytes limit on cfn.
  • Loading branch information
Leonidas Tsampros committed Dec 14, 2016
1 parent 426e406 commit ca43633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap_cfn/config.py
Expand Up @@ -149,7 +149,7 @@ def process(self):
inc = json.load(open(inc_path))
template = utils.dict_merge(template, inc)
return json.dumps(
template, sort_keys=True, indent=4, separators=(',', ': '))
template, sort_keys=True, indent=None, separators=(',', ': '))

def base_template(self):
from bootstrap_cfn import vpc
Expand Down

0 comments on commit ca43633

Please sign in to comment.