Hey there, yes I raised this issue 9 days ago: https://github.com/pulumi/pulumi-aws/issues/2230
Levi has been very helpful 🙇♂️ and I can see that it appears to be a complicated upstream pipeline to bring the latest updates through to the CLI
b
brave-planet-10645
12/05/2022, 9:59 AM
@icy-controller-6092 As I said in the other thread, you can use the string value of the enum. So this works:
Copy code
const fn = new aws.lambda.Function("fn", {
code: new pulumi.asset.AssetArchive({
".": new pulumi.asset.FileArchive("./app")
}),
handler: "index.handler",
runtime: "nodejs18.x",
role: role.arn
})
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.