-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Support OAC between CloudFront and Lambda #217
Comments
+1; I would also prefer to have OAC instead of lambda@edge. |
I think it would be handy to still be able to use lambda@edge as an option if possible. |
@francoisdtm, I don't think we can move to OAC because it does not support PUT or POST payloads. See the note below from the docs:
If CloudFront allowed selecting different origins per method, then maybe we could for GETs but I don't think that's possible. |
Our organisation are using cdk-nextjs and for our security requirements, it would be beneficial to have OAC implemented between Cloudfront and the Lambdas vs the current edge solution. Now that OAC is available, just raising a feature request item to get this implemented if possible.
See:
cdk-nextjs/src/NextjsDistribution.ts
Line 223 in 2d9c5a3
The text was updated successfully, but these errors were encountered: