appsync resolver cannot set both maxBatchSize and PipelineConfig #27674
Labels
@aws-cdk/aws-appsync
Related to AWS AppSync
bug
This issue is a bug.
needs-cfn
This issue is waiting on changes to CloudFormation before it can be addressed.
p3
Describe the bug
UPDATE_ROLLBACK_COMPLETE: Pipeline JS resolvers cannot have a maxBatchSize when using maxBatchSize with a pipeline, sth totally ok with aws console
Expected Behavior
Allow maxBatchSize with a pipeline
Current Behavior
Currently I have to patch after deployment
Reproduction Steps
Sample legit use case:
resolver code: BatchInvoke to a lambda
at pipeline I have the batch processor lambda as per doc
cdk code:
when deploying, error shows up
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.102.0 (build 2abc59a)
Framework Version
No response
Node.js Version
v18.13.0
OS
Macos 12.6.8
Language
TypeScript
Language Version
Typescript 4.9.5
Other information
x-prod failed: Error: The stack named x-prod failed to deploy: UPDATE_ROLLBACK_COMPLETE: Pipeline resolvers cannot have a maxBatchSize.
at FullCloudFormationDeployment.monitorDeployment (/Users/hwangar/Projects/backend/node_modules/aws-cdk/lib/index.js:467:10232)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.deployStack2 [as deployStack] (/Users/hwangar/Projects/backend/node_modules/aws-cdk/lib/index.js:470:180228)
at async /Users/hwangar/Projects/backend/node_modules/aws-cdk/lib/index.js:470:163476
The text was updated successfully, but these errors were encountered: