-
Notifications
You must be signed in to change notification settings - Fork 4k
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
(aws-amplify-alpha): (Missing cloudformation property framework for Branch) #23325
Comments
We offer this on our L1 CfnBranch, just not the L2 which is still considered in development I'm going to remark this as a feature request for the L2 to support the In the meantime you can still use the L2 and set the L1 property with an escape hatch
|
Thank you for the response @peterwoodworth. I am using the suggested workaround already. |
We'll pick this up. @sumupitchayan will take a stab at this one. |
You'll also need the This would be a quick example of configuring an Amplify app to support Next.js 12 and above: const app = new amplify.App(scope, 'App', { platform: 'WEB_COMPUTE' });
const branch = app.addBranch('main', { framework: 'Next.js' }); |
After our conversation with Amplify, we learned that the I will go ahead an update my PR to include the |
### Problem: The Amplify App L2 construct does not support the ability for customers to configure a SSR app without reaching down into the lower level L1. ### Solution: Expose the `platform` field used to set SSG vs SSR hosted applications. Do not expose `WEB_DYNAMIC` as SSRv1 is on the deprecation path. ### Testing Done: * `yarn build+test` * added new tests for `platform` field * updated snapshots for new default value Closes #24076 and #23325 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
Is it 'Next.js' or 'Next.js - SSR'? |
Describe the bug
The Branch construct is missing the important Framework property from cloudformation, which is needed to run NextJs successfully. Since it is not automatically detected
Expected Behavior
Allowing to add
framework
propertyCurrent Behavior
Not possible
Reproduction Steps
Create Branch try to add
framework
property to BranchOptionsPossible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.51.1 (build 3d30cdb)
Framework Version
^2.51.1-alpha.0
Node.js Version
v16.13.0
OS
macos
Language
Typescript
Language Version
3.9.7
Other information
No response
The text was updated successfully, but these errors were encountered: