From f893af783a76ef4aff4c27710e2d4202c9fbf91a Mon Sep 17 00:00:00 2001 From: Pat Myron Date: Tue, 12 Apr 2022 19:15:17 -0700 Subject: [PATCH] perf: reduce JSON CloudFormation template size https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html https://github.com/awslabs/goformation/issues/192 --- cloudformation/template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudformation/template.go b/cloudformation/template.go index 7f02f3619e..e72e4b0fe8 100644 --- a/cloudformation/template.go +++ b/cloudformation/template.go @@ -220,7 +220,7 @@ func NewTemplate() *Template { // JSON converts an AWS CloudFormation template object to JSON func (t *Template) JSON() ([]byte, error) { - j, err := json.MarshalIndent(t, "", " ") + j, err := json.MarshalIndent(t, "", " ") if err != nil { return nil, err }