Crazy experiment: I want to create a CustomResource in AWS CDK that uses Pulumi. I think the automation API is the way to go.
But how can I run the equivalent of “pulumi login” from an AWS lambda function? I’m stuck on that.
04/29/2023, 2:23 PM
You’d need to run it from a lambda container as there’s a requirement to have the CLI installed.
Be mindful that this could be expensive especially if the resource you want to create might take a while to create (i.e. an RDS instance)