cloudtools / troposphere

troposphere - Python library to create AWS CloudFormation descriptions
BSD 2-Clause "Simplified" License
4.93k stars 1.45k forks source link

Lambda ZipFile 4096 characters limitation #2119

Closed mindscapexyz closed 1 year ago

mindscapexyz commented 1 year ago

https://github.com/cloudtools/troposphere/blob/321b8870ac9b92a987fa21309ff9e8a3612fe546/troposphere/validators/awslambda.py#L89

The new AWS Cloudformation allow for up to 4MB ZipFile The current implementation still uses the old limitation which is 4096 characters, this caused me error when compiling

mindscapexyz commented 1 year ago

https://github.com/aws-cloudformation/cfn-lint/pull/2431 might be related to this too from cfn-lint

markpeek commented 1 year ago

Fixed. Thanks for the issue.