feat!: s3-ddb cache handler replaces efs, run next build on host, use nextjs official adapter#187
Conversation
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…s in cloud for cdk-nextjs-cache-handler
…e next build locally now
❌ The current Mergify configuration is invalidDetails
|
❌ The current Mergify configuration is invalidDetails
|
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
❌ The current Mergify configuration is invalidDetails
|
…nts to default created vpc
❌ The current Mergify configuration is invalidDetails
|
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
❌ The current Mergify configuration is invalidDetails
|
❌ The current Mergify configuration is invalidDetails
|
|
Hey. Just wondering what's the next step on this PR? |
|
Hey Laurence, I've kinda been waiting for Next.js to release 16.2 so canary isn't required for image custom cache handler but it's taken a lot longer for them than I expected :/ |
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
Update looks good so far, thanks!. Just wondering if it's possible to pass build args to the new generated I was doing this with the That let me pass in different built lambda layers based on env. |
Great callout, @LaurenceGA. Sorry I missed this. Need to add override here. Fixed in #213 |
|
Awesome! Updated, and with that it all seems to be working well for me 👍 |
Fixes #165, #142, #127, #121, #115
This PR will be released as 0.5.0-beta.1. It will remain beta until next.config.js' experimental.adapterPath is no longer experimental. This PR requires at least Next.js v16.1.1-canary.19 as it relies on Image Custom Cache Handler. While it's not ideal to depend upon experimental or canary features, this aligns with cdk-nextjs' design philosophy of not tampering with Next.js internals and relying on public APIs wherever possible.
NextjsCacheNextjsAssetDeployment⨯ Error: failed to pipe responseerror by storing as utf8 instead of base64next buildon host machine, not in container - simplifying build process and reducing build time.buildContextis replaced withbuildDirectoryNextjsRegionalFunctionsnow supports streaming (since API GW now supports it)Follow up Work
public/in image, CreateNextjsImageOptimizationFunction#193 will fix this and allow us to dynamically pull public images from s3.