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

Missing dependencies in appsync-graphql-dynamodb example #698

Closed
samputer opened this issue Jul 7, 2022 · 5 comments
Closed

Missing dependencies in appsync-graphql-dynamodb example #698

samputer opened this issue Jul 7, 2022 · 5 comments
Labels
bug This issue is a bug. effort/small Small work item – less than a day of effort p1

Comments

@samputer
Copy link

samputer commented Jul 7, 2022

Describe the bug

Cannot tear down appsync-graphql-dynamodb due to missing dependencies on datasource.

Expected Behavior

Should be able to destroy stack when running cdk destroy

Current Behavior

cdk destroy yields the following error

16:24:39 | DELETE_FAILED        | AWS::AppSync::DataSource    | ItemsDataSource
Resolver for type Mutation and field delete associated with data source (Service: AWSAppSync; Status Code: 400; Error Code: BadRequestException; Request ID: ...

Reproduction Steps

In the typescript/appsync-graphql-dynamodb directory:

cdk deploy

followed by

cdk destroy

Observe error

Possible Solution

Add missing dependencies to all of the datasources. PR inbound.

Additional Information/Context

No response

CDK CLI Version

2.31.0 (build b67950d)

Framework Version

No response

Node.js Version

v16.13.1

OS

MacOS 12.4

Language

Typescript

Language Version

No response

@samputer samputer added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Jul 7, 2022
@samputer samputer changed the title (short issue description) Missing dependencies in appsync-graphql-dynamodb example Jul 7, 2022
@samputer
Copy link
Author

samputer commented Jul 7, 2022

PR raised: #699

@peterwoodworth peterwoodworth added effort/small Small work item – less than a day of effort p1 and removed needs-triage This issue or PR still needs to be triaged. labels Jul 7, 2022
@peterwoodworth
Copy link
Contributor

Gave a review 🙂

@awscamille
Copy link
Contributor

I think #1005 addresses that issue.

@kaiz-io
Copy link
Contributor

kaiz-io commented Mar 18, 2024

Confirmed one is able to cdk deploy and cdk destroy.

@kaiz-io kaiz-io closed this as completed Mar 18, 2024
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
bug This issue is a bug. effort/small Small work item – less than a day of effort p1
Projects
None yet
Development

No branches or pull requests

4 participants