https://pulumi.com logo
#general
Title
# general
b

brave-angle-33257

06/14/2023, 9:52 PM
FYI - looks like this change is in a holding pattern: https://github.com/pulumi/pulumi-aws/blob/master/sdk/nodejs/types/enums/lambda/index.ts#L41 however, upgrading to 3.10 python runtime is the fix for urllib3 issue: https://urllib3.readthedocs.io/en/latest/v2-migration-guide.html#ssl-module-is-compiled-with-openssl-1-0-2-k-fips any ETA on next release? been almost a month since the commit was added
hmm can we just use the string representation instead? seems like it.. will try and report back
Copy code
Python3d10: "python3.10",
yea.. that worked 🤦
Copy code
var lambda_function = new aws.lambda.Function(
    name,
    {
        name: name,
        runtime: "python3.10",      <--- removed path to ENUM, just used string equivalent
        code: new pulumi.asset.AssetArchive({
            ".": new pulumi.asset.FileArchive(`./${CODE_PATH}/${CODE_PATH}.zip`),
        }),
        timeout: 30,
        memorySize: 128,
        handler: `function.handler`,
........