-
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
β NOTICE : aws-cdk-lib : validation errors detected: Value '' at 'stackName' failed #31654
Closed
1 task done
Labels
@aws-cdk/aws-amplify
Related to AWS Amplify
bug
This issue is a bug.
p0
package/tools
Related to AWS CDK Tools or CLI
potential-regression
Marking this issue as a potential regression to be checked by team member
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Comments
dpilch
added
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
labels
Oct 4, 2024
github-actions
bot
added
@aws-cdk/aws-amplify
Related to AWS Amplify
potential-regression
Marking this issue as a potential regression to be checked by team member
labels
Oct 4, 2024
dpilch
changed the title
validation errors detected: Value '' at 'stackName' failed to
validation errors detected: Value '' at 'stackName' failed
Oct 4, 2024
internal tracking: P159593912 |
1 task
pahud
added
p0
and removed
needs-triage
This issue or PR still needs to be triaged.
labels
Oct 4, 2024
mergify bot
pushed a commit
that referenced
this issue
Oct 5, 2024
### Issue # (if applicable) Closes #[31654](#31654). ### Reason for this change This reverts commit 0755561. ### Description of changes Changes introduced regression in amplify app for nested stacks, reverting it. ### Description of how you validated changes Validated with local build ### Checklist - [ ] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
shikha372
added a commit
that referenced
this issue
Oct 5, 2024
### Issue # (if applicable) Closes #[31654](#31654). ### Reason for this change This reverts commit 0755561. ### Description of changes Changes introduced regression in amplify app for nested stacks, reverting it. ### Description of how you validated changes Validated with local build ### Checklist - [ ] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
rix0rrr
added a commit
that referenced
this issue
Oct 7, 2024
@dpilch This is resolved per internal tracking in |
1 task
ashishdhingra
added
the
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
label
Oct 7, 2024
Comments on closed issues and PRs are hard for our team to see. |
shikha372
changed the title
validation errors detected: Value '' at 'stackName' failed
β NOTICE : aws-cdk-lib : validation errors detected: Value '' at 'stackName' failed
Oct 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
@aws-cdk/aws-amplify
Related to AWS Amplify
bug
This issue is a bug.
p0
package/tools
Related to AWS CDK Tools or CLI
potential-regression
Marking this issue as a potential regression to be checked by team member
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Please add your +1 π to let us know you have encountered this
Status: RESOLVED
Overview:
The latest CDK release (https://github.com/aws/aws-cdk/releases/tag/v2.161.0) appears to have reintroduced #27526.
Intermittently when deploying the following error is printed.
Complete Error Message:
The last time this issue was present was because the
describeStackEvents
was called with{ stackName: '' }
. #27526 (comment). This recent PR #31407 touched the area of code that caused the previous issue.Workaround:
Pin CDK version to 2.160.0
Solution:
Related Issues:
Regression Issue
Last Known Working CDK Version
v2.160.0
Expected Behavior
The monitoring behavior should not attempt to describe a stack without providing the stack name.
Current Behavior
See error message above. The issue is intermittent.
Reproduction Steps
I am reliable reproducing the error when using Amplify Gen 2 (which under the hood uses the Amplify GraphQL API construct).
The error message should show after this. If does not, try
npx ampx sandbox delete
and thennpx ampx sandbox
.I haven't tested this yet, but the following guide would probably lead to the error as well. https://aws.amazon.com/blogs/mobile/announcing-aws-amplifys-graphql-api-cdk-construct-deploy-real-time-graphql-api-and-data-stack-on-aws/
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.161.0 (build be5ad8b)
Framework Version
No response
Node.js Version
v18.20.4
OS
mac os 14.7
Language
TypeScript
Language Version
typescript@5.6.2
Other information
No response
The text was updated successfully, but these errors were encountered: