Skip to content
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

AppSync: resolver can become detached when renaming resources #13653

Closed
ansman opened this issue Mar 17, 2021 · 3 comments
Closed

AppSync: resolver can become detached when renaming resources #13653

ansman opened this issue Mar 17, 2021 · 3 comments
Assignees
Labels
@aws-cdk/aws-appsync Related to AWS AppSync bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.

Comments

@ansman
Copy link

ansman commented Mar 17, 2021

If an AppSync data source or Lambda function is renamed then on the next deploy AppSync will sometimes leave the resolver detached after deploying successfully

Reproduction Steps

  1. Create an AppSync app with a single data source backed by a lambda function
  2. Deploy the stack
  3. Change the name of the lambda function and/or data source
  4. Deploy again

What did you expect to happen?

The resolver should be attached after deployment.

What actually happened?

The resolver is not attached.

Environment

  • CDK CLI Version: 1.91.1
  • Framework Version: 1.91.0
  • Node.js Version:
  • OS :
  • Language (Version):

Other

When this happens I typically have to comment out the resolvers and data source creation, deploy, uncomment and deploy again.


This is 🐛 Bug Report

@ansman ansman added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Mar 17, 2021
@github-actions github-actions bot added the @aws-cdk/aws-appsync Related to AWS AppSync label Mar 17, 2021
@ansman
Copy link
Author

ansman commented Mar 17, 2021

I've also had issues where new data sources aren't created when backed by the same lambda function, though I'm unsure if that is the same problem.

@MrArnoldPalmer
Copy link
Contributor

MrArnoldPalmer commented Mar 18, 2021

Hey @ansman, we have this covered in #13269. Its quite an annoying one. Keep on eye on that issue for updates and provide any new info there so we can keep things consolidated. Feel free to reopen if you think this isn't covered.

@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-appsync Related to AWS AppSync bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

2 participants