05/11/2021, 12:16 PM
Hey folks! I'm trying to use Pulumi in my organization and I'm a little messed with how to configure some AWS stuffs. In my case, I have a Lambda Function to be triggered by an event in S3. It's working pretty well, but I'd like to put Pulumi to create/deploy it. Is there a way to export my already configured Lambda Function so I could let Pulumi work in it?


05/11/2021, 2:19 PM
I think this example should do exactly what you're looking for. One thing to be aware of is that when you're "getting" the pre-deployed lambda function, you're just getting values from it (i.e. the ARN) but you won't be able to manage it with Pulumi. If you want to do that you'll need to import it