08/23/2023, 4:35 PM
Hi, i'm fairly new working with pulumi, i had a question related to:
Copy code
expected compatible_runtimes.0 to be one of [nodejs nodejs4.3 nodejs6.10 nodejs8.10 nodejs10.x nodejs12.x nodejs14.x nodejs16.x java8 java8.al2 java11 python2.7 python3.6 python3.7 python3.8 python3.9 dotnetcore1.0 dotnetcore2.0 dotnetcore2.1 dotnetcore3.1 dotnet6 nodejs4.3-edge go1.x ruby2.5 ruby2.7 provided provided.al2 nodejs18.x python3.10 java17], got python3.11.
I'm trying to create a lambda layer for python 3.11, with the dependency of
"@pulumi/aws": "5.42.0"
is there a form to double check if there is support for it yet?


08/23/2023, 4:40 PM
the support for lambda runtimes is unfortunately hardcoded as a string in the upstream provider šŸ˜ž you might have more luck with this


08/23/2023, 4:48 PM
Cool!! I will check it out. Thx šŸ˜„
I think i have an update on the matter just for recording purposes: ā€¢ Yes it was a nice suggestion, and a solution that is workable ā€¢ Is suboptimal since the code was written thinking in the
code?: pulumi.Input<pulumi.asset.Archive>;
and the current aws-native does not handle code attribute only the
content: pulumi.Input<inputs.lambda.LayerVersionContentArgs>;
so you need to create s3 buckets yes or yes Though it is a solution, I think there is either sticking with python 3.9 until further updated or changing the base code && infra to adapt to