(AppSync) additionalAuthenticationProviders seems to be a required parameter #8668
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.
I used to be able to deploy my AppSync stack with this relevant code snippet using CDK v1.39.0:
When upgrading to v1.46.0, I changed the above snippet to:
NOTE: I had to add an eslint comment on the assignment of authorizationType as it was complaining about this.
I then received this error on deployment:
From the error I am guessing that the implementation assumes that additionalAuthenticationProviders parameters is always specified so I changed the above code to this:
This got rid of the error but I believe we should not have to specify an empty array and am therefore raising this as a bug.
My deployments are run via CircleCI but I see the same error even when deploying locally (Mac OS Catalina 10.15.5 with Node 12.14.0) using a command like this:
Environment
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: