You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error occurred while monitoring stack: Error [ValidationError]: 2 validation errors detected: Value '' at 'stackName' failed to satisfy constraint: Member must satisfy regular expression pattern: [a-zA-Z][-a-zA-Z0-9]*|arn:[-a-zA-Z0-9:/._+]*; Value '' at 'stackName' failed to satisfy constraint: Member must have length greater than or equal to 1
at Request.extractError (C:\...\AppData\Local\pnpm\global\5\.pnpm\aws-cdk@2.100.0\node_modules\aws-cdk\lib\index.js:362:46430)
at Request.callListeners (C:\...\AppData\Local\pnpm\global\5\.pnpm\aws-cdk@2.100.0\node_modules\aws-cdk\lib\index.js:362:90083)
at Request.emit (C:\...\AppData\Local\pnpm\global\5\.pnpm\aws-cdk@2.100.0\node_modules\aws-cdk\lib\index.js:362:89531)
at Request.emit (C:\...\AppData\Local\pnpm\global\5\.pnpm\aws-cdk@2.100.0\node_modules\aws-cdk\lib\index.js:362:196289)
at Request.transition (C:\...\AppData\Local\pnpm\global\5\.pnpm\aws-cdk@2.100.0\node_modules\aws-cdk\lib\index.js:362:189841)
at AcceptorStateMachine.runTo (C:\...\AppData\Local\pnpm\global\5\.pnpm\aws-cdk@2.100.0\node_modules\aws-cdk\lib\index.js:362:154713)
at C:\...\AppData\Local\pnpm\global\5\.pnpm\aws-cdk@2.100.0\node_modules\aws-cdk\lib\index.js:362:155043
at Request.<anonymous> (C:\...\AppData\Local\pnpm\global\5\.pnpm\aws-cdk@2.100.0\node_modules\aws-cdk\lib\index.js:362:190133)
at Request.<anonymous> (C:\...\AppData\Local\pnpm\global\5\.pnpm\aws-cdk@2.100.0\node_modules\aws-cdk\lib\index.js:362:196364)
at Request.callListeners (C:\...\AppData\Local\pnpm\global\5\.pnpm\aws-cdk@2.100.0\node_modules\aws-cdk\lib\index.js:362:90251) {
code: 'ValidationError',
time: 2023-10-12T14:16:28.072Z,
requestId: 'e828bd70-e9db-4173-8924-3dec501fccf6',
statusCode: 400,
retryable: false,
retryDelay: 142.81362092100824
}
Following deploy, the generated resources appear to work correctly.
How did you install the Amplify CLI?
N/A
If applicable, what version of Node.js are you using?
18.18.0
Amplify CLI Version
N/A
What operating system are you using?
Windows
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
N/A - this bug has to do with the deployment of the newly released
AmplifyGraphqlApi
CDK construct.Describe the bug
I am following the walkthrough in the CDK construct announcement blog post found here: https://aws.amazon.com/blogs/mobile/announcing-aws-amplifys-graphql-api-cdk-construct-deploy-real-time-graphql-api-and-data-stack-on-aws/. The only difference is I am deploying from a package in a
pnpm
monorepo, however, everything else is identical. During thecdk deploy
logs I see the following error message:Following deploy, the generated resources appear to work correctly.
Expected behavior
No errors during
cdk deploy
Reproduction steps
Follow instructions found here: https://aws.amazon.com/blogs/mobile/announcing-aws-amplifys-graphql-api-cdk-construct-deploy-real-time-graphql-api-and-data-stack-on-aws/
Project Identifier
N/A
Log output
Additional information
I
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: