Skip to content

Readme: layers count toward the 250MB limit - #680

Open
mnapoli wants to merge 1 commit into
masterfrom
layer-size-note
Open

mnapoli wants to merge 1 commit into
masterfrom
layer-size-note

Conversation

@mnapoli

@mnapoli mnapoli commented Nov 4, 2026

Copy link
Copy Markdown
Member

Large layers like imagick (~70MB unzipped) can push a function over Lambda's 250MB limit. The Readme now says so, recommends deploying with --no-dev, and recommends the ${bref-extra:…} variables over copying ARNs from layers.json.

The deployment pitfall that follows (shrinking the code doesn't fix the next deployment) is documented in brefphp/bref#2241.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant