-
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 : Support setting framework for App #25679
Comments
We don't support this yet. The property is available in CloudFormation, so it's adjustable already with escape hatches. Would need to add it here at the least aws-cdk/packages/@aws-cdk/aws-amplify-alpha/lib/app.ts Lines 224 to 238 in bbdb16a
Is there any documentation that explains how this works, or how you should configure this setting? |
There might be something in the amplify CLI documentation about how to configure this, I've seen a few other similar issues where folks suggested setting this property via the cli, but that didn't work for me either. I'm mainly just following the guide here: https://docs.amplify.aws/guides/hosting/nextjs/q/platform/js/ . I don't see anything about how to configure this setting. As far as I know it should be done automatically. It is not editable via the Web GUI either, although I would prefer to just set this via some sort of CDK input prop. |
Yeah I cannot find any information about this, the API reference doesn't explain how it should be set, and I couldn't find anything in the developer guide. You're right that doing this through the console is completely automatic, there's no way to even edit it.
You can do something like this:
|
This is being actively worked on actually #23325 |
|
Describe the bug
CDK does not deploy a Next JS SSR app correctly. The field
framework
in App settings is not populated.Expected Behavior
I expect the Framework to be populated correctly. This is done correctly if the app is created manually via the web console:
Current Behavior
Framework is empty as per the screenshot above.
Reproduction Steps
npx create-next-app@latest
(be sure NOT to use app directory)Possible Solution
The 'Framework' field should be populated correctly when the app deploys. The framework value is auto detected when configuring manually. Let's do the same with CDK.
Additional Information/Context
No response
CDK CLI Version
2.79.1
Framework Version
2.76.0
Node.js Version
18
OS
Mac OSX Ventura 13.3.1
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: