examples icon indicating copy to clipboard operation
examples copied to clipboard

Lambda arn should be lambda name in Permission resource

Open tpaulshippy opened this issue 3 years ago • 1 comments

This appears to be a bug in the example: https://github.com/pulumi/examples/blob/1042be6f948bf3ceda4083dad170515b61c30769/aws-py-apigatewayv2-eventbridge/main.py#L127

According to https://www.pulumi.com/registry/packages/aws/api-docs/lambda/permission/#inputs the function property should be set to the Name of the Lambda function whose resource policy you are updating

tpaulshippy avatar Mar 31 '22 17:03 tpaulshippy

@tpaulshippy Thanks for submitting this issue. This is clearly a bug.

jkodroff avatar Apr 11 '22 20:04 jkodroff