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
The deploy will intermittently encounter the following error. This is likely a regression with CDK v1.161.0. Pin your CDK version to v1.160.0 if you encounter this error. aws/aws-cdk#31654
Error occurred while monitoring stack: Error [ValidationError]: 2 validation errors detected: Value '' at 'stackName' failed to satisfy constraint: Member must have length greater than or equal to 1; 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:/._+]*
at Request.extractError (/Users/dppilche/amplify/apps/canaryfailures/node_modules/aws-cdk/lib/index.js:439:46717)
at Request.callListeners (/Users/dppilche/amplify/apps/canaryfailures/node_modules/aws-cdk/lib/index.js:439:91820)
at Request.emit (/Users/dppilche/amplify/apps/canaryfailures/node_modules/aws-cdk/lib/index.js:439:91268)
at Request.emit (/Users/dppilche/amplify/apps/canaryfailures/node_modules/aws-cdk/lib/index.js:439:200231)
at Request.transition (/Users/dppilche/amplify/apps/canaryfailures/node_modules/aws-cdk/lib/index.js:439:193784)
at AcceptorStateMachine.runTo (/Users/dppilche/amplify/apps/canaryfailures/node_modules/aws-cdk/lib/index.js:439:158656)
at /Users/dppilche/amplify/apps/canaryfailures/node_modules/aws-cdk/lib/index.js:439:158986
at Request.<anonymous> (/Users/dppilche/amplify/apps/canaryfailures/node_modules/aws-cdk/lib/index.js:439:194076)
at Request.<anonymous> (/Users/dppilche/amplify/apps/canaryfailures/node_modules/aws-cdk/lib/index.js:439:200306)
at Request.callListeners (/Users/dppilche/amplify/apps/canaryfailures/node_modules/aws-cdk/lib/index.js:439:91988) {
code: 'ValidationError',
time: 2024-10-04T17:03:05.124Z,
requestId: '8690e75f-bc8f-4d58-a6cf-6b86c941a799',
statusCode: 400,
retryable: false,
retryDelay: 292.29573100392116
}
Reproduction steps
mkdir cdkmonitoringbug
cd cdkmonitoringbug
npm create amplify@latest
npx ampx sandbox
The text was updated successfully, but these errors were encountered:
josefaidt
changed the title
validation errors detected: Value '' at 'stackName' failed to satisfy constraint
cdk v2.161.0 errors with validation errors detected: Value '' at 'stackName' failed to satisfy constraint
Oct 4, 2024
Environment information
Describe the bug
The deploy will intermittently encounter the following error. This is likely a regression with CDK
v1.161.0
. Pin your CDK version tov1.160.0
if you encounter this error. aws/aws-cdk#31654Reproduction steps
The text was updated successfully, but these errors were encountered: