[aws-appsync] Invalid default effect type. (UserPoolConfig.defaultAction) #10028
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.
Problem
CloudFormation suddenly throws:
Invalid default effect type. (Service: AWSAppSync; Status Code: 400; Error Code: BadRequestException)
even though AWS::AppSync::GraphQLApi UserPoolConfig takes
DefaultAction
as not-required.So I destroyed the stack to redeploy it because of this issue.
But the redeployment also failed.
I believe the cause must be:
aws-cdk/packages/@aws-cdk/aws-appsync/lib/graphqlapi.ts
Lines 89 to 93 in ad7465d
aws-cdk/packages/@aws-cdk/aws-appsync/lib/graphqlapi.ts
Lines 528 to 536 in ad7465d
This should be like:
Reproduction Steps
What did you expect to happen?
What actually happened?
Environment
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: