Skip to content

Commit

Permalink
perf: reduce CloudFormation template size
Browse files Browse the repository at this point in the history
  • Loading branch information
PatMyron authored Mar 31, 2022
1 parent 0096e67 commit 7248aee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/core/lib/stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ export class Stack extends CoreConstruct implements ITaggable {
Annotations.of(this).addInfo(`Number of resources: ${numberOfResources} is approaching allowed maximum of ${this.maxResources}`);
}
}
fs.writeFileSync(outPath, JSON.stringify(template, undefined, 2));
fs.writeFileSync(outPath, JSON.stringify(template, undefined, 1));

for (const ctx of this._missingContext) {
if (lookupRoleArn != null) {
Expand Down

0 comments on commit 7248aee

Please sign in to comment.