cfn-wrapper-python icon indicating copy to clipboard operation
cfn-wrapper-python copied to clipboard

fix invalid physicalResourceId if any handler got exception

Open wenxu1024 opened this issue 1 year ago • 0 comments

When using this package, if the handler raise exception. The CFN stack just output "Invalid PhysicalResourceID" instead of output the real error message.

In the source code provided by AWS the physical resource ID is set to lambda logStreamName if not defined.

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-lambda-function-code-cfnresponsemodule.html#cfn-lambda-function-code-cfnresponsemodule-source

wenxu1024 avatar Jun 09 '24 04:06 wenxu1024