Skip to content

fix invalid physicalResourceId if any handler got exception#8

Open
wenxu1024 wants to merge 1 commit intoryansb:masterfrom
wenxu1024:fix-invalid-physicalresource-id
Open

fix invalid physicalResourceId if any handler got exception#8
wenxu1024 wants to merge 1 commit intoryansb:masterfrom
wenxu1024:fix-invalid-physicalresource-id

Conversation

@wenxu1024
Copy link

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 wenxu1024 force-pushed the fix-invalid-physicalresource-id branch from e458c5d to d9092d6 Compare June 9, 2024 04:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant