When the template size > 51,200 bytes, I got below error when deploy the cloudformation template to AWS.
Amazon.CloudFormation.AmazonCloudFormationException: The service returned an error with Error Code ValidationError and HTTP Body
When I change to a smaller size template, it’s ok.
As the deploy command in CLI request to specify S3 bucket for uploading when template size > 51,200 bytes, I guess that’s the reason of validation error, however in current step template I didn’t see support for S3 bucket so maybe this is something still missing?
The usual solution that we suggest in this scenario is to break up your template up into multiple steps if you would like to keep it under the request limit. Our built-in step does not currently support loading a template from an S3 bucket, but if you wanted to do this, you could perhaps use a script step to achieve this.
@Justin_Walsh - I just encountered this same thing. I will do as suggested, but I hope you guys can prioritize this one. I would imagine you are using aws cli in the background, so exposing the --s3-bucket argument to the Octo GUI seems like it’d be pretty easy.