04/17/2023, 10:30 AM
It seems that an update to Pulumi means that now AWS Lambda functions require code as part of the definition. When I import an existing lambda function that has an uploaded ZIP, I get a bunch of errors. Does this mean it's no longer possible to use
pulumi import
on AWS Lambdas? (when I use the AWS client, I see that there is a path to the current version definied, so there is already code...)
I guess it's basically this issue?
But I'm now basically stuck unless I upload the source code to an s3 bucket and make sure it matches? I just want pulumi to use the code already there...