https://pulumi.com logo
#aws
Title
# aws
s

stale-nail-55781

06/15/2023, 3:34 PM
Hi, I'm using Pulumi to create a lambda function in AWS, I want to set the maximum retry but I can't find a way to do so in the Pulumi docs. Having checked Terraform, I can see they have a field "maximum_retry_attempts" available: https://registry.terraform.io/modules/terraform-aws-modules/lambda/aws/latest?tab=inputs. Is this available with Pulumi?
b

brave-planet-10645

06/15/2023, 3:39 PM
Interesting… I can’t see it there. Let me ask internally
Oh I see… that’s a module not the resource
here we go, it’s not in the lambda function resource, it’s in the
FunctionEventInvokeConfig
I don’t know why it’s in a separate resource but that’s where you can set it
s

stale-nail-55781

06/15/2023, 4:33 PM
that's what I was after! Thanks Piers