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").
The following error can be shown during a template approval request:
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