This message was deleted.
# aws
s
This message was deleted.
m
Hi Matt, on the classic or native provider?
b
Hi @icy-controller-6092 have you raised an issue in the AWS provider repo about this? https://github.com/pulumi/pulumi-aws
i
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
@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
})