custom_resources: onEvent response disagreement on if PhysicalResourceId is required #29304
Labels
@aws-cdk/custom-resources
Related to AWS CDK Custom Resources
bug
This issue is a bug.
documentation
This is a problem with documentation.
effort/medium
Medium work item – several days of effort
p3
Describe the issue
When implementing a CustomResource, the onEvent handler must return some json.
There is disagreement about if PhysicalResourceId is required.
This repo says it's not required.
The CloudFormation guide says that it is required.
The typescript definitions say it is required, but looks like it was trying to make it only required if it's Update or Delete and then they did all event types.
I can make PRs once I know what it should be.
Though I don't know where the CloudFormation guide source is.
Links
The text was updated successfully, but these errors were encountered: