https://pulumi.com logo
#general
Title
# general
a

astonishing-magazine-88802

06/15/2022, 11:57 AM
Hey All! I wanted to know am I capable of using Pulumi in order to modify a specific lambda I have already deployed> I want to add subscription filters to a few lambdas that I already have. Thanks in advance to anyone who is willing to help! 😄
e

echoing-dinner-19531

06/15/2022, 12:15 PM
You can import a lambda function into the pulumi state and then use pulumi to further modify it: https://www.pulumi.com/registry/packages/aws/api-docs/lambda/function/#import
a

astonishing-magazine-88802

06/15/2022, 12:41 PM
Do I need it in order to create a new subscription filter?
e

echoing-dinner-19531

06/15/2022, 1:09 PM
Do you mean a log subscription filter? Because no you could create one of those and just give it the ARN of the lambda function as string, no need to import the function to be managed.
a

astonishing-magazine-88802

06/15/2022, 1:10 PM
great, thanks!
4 Views