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

busy-umbrella-36067

11/28/2020, 5:02 AM
Is there any way to attach extra permissions to the inline lambdas?
f

freezing-finland-22895

11/30/2020, 6:30 PM
I've attached a policy via a role to an inline lambda. The
role
property on the
aws.lambda.CallbackFunction
provides the hook needed to assign a role to a lambda; I then attached a policy to that role using
aws.iam.PolicyAttachment
. I don't know if that's the best way to do it but that's how I did it 🙂
👌 1
👏 1
🙏 1
b

busy-umbrella-36067

11/30/2020, 7:03 PM
@freezing-finland-22895 exactly what I needed
👍 1