hundreds-greece-25551
12/04/2023, 6:46 PMpulumi-aws
from 5.10 to 6.12 and i'm seeing an AssertionError: Unexpected type. Expected 'list' got '<class 'str'>'
that I believe I've narrowed down to uses of aws.lambda_.EventSourceMapping
resources (by moving a return
statement around to find the resource that causes it to fail), e.g.:
aws.lambda_.EventSourceMapping(
"queue",
event_source_arn=queue.arn,
function_name=lambda_.arn,
opts=opts,
)
I've verified that queue.arn
and lambda_.arn
are strings and that the documentation and SDK code both list these parameters as str
not list
so I suspect this is a bug. It's impacting all projects that use EventSourceMapping
. I can use the pulumi-aws-native
provider as a workaround (same code, different provider) but it's a bit messy to have to make that change everywhere for this one resource. Is there any thing else I could try looking into to resolve this? Is this a known issue? Thanks.enough-garden-22763
12/04/2023, 6:50 PMenough-garden-22763
12/04/2023, 6:51 PMenough-garden-22763
12/04/2023, 6:51 PMhundreds-greece-25551
12/04/2023, 6:53 PMhundreds-greece-25551
12/05/2023, 8:20 PMpulumi-aws
.. i'm trying to create a minimal repo to reproduce this issue but no luck so far.enough-garden-22763
12/05/2023, 8:29 PMenough-garden-22763
12/05/2023, 8:30 PM