unbounce / iidy

iidy (Is it done yet?) -- CloudFormation with Confidence
MIT License
52 stars 7 forks source link

Wrong template limit is applied during template approval #254

Closed jpb closed 4 years ago

jpb commented 4 years ago

The following error can be shown during a template approval request:

$ iidy template-approval request stack-args.yaml
error Your cloudformation template is larger than the max allowed size. You need to upload it to S3 and reference it from there.

even though we are uploading the template to S3 as part of the template approval process.

Perhaps the limit of 460,800 bytes could be checked here ("Maximum size of a template body that you can pass in an Amazon S3 object") instead of the lower 51,200 bytes ("Maximum size of a template body that you can pass in a CreateStack, UpdateStack, or ValidateTemplate request").

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html