Skip to content

Commit e5973bd

Browse files
authored
Add Python 3.10 as a supported runtime for Lambda (#2530)
* Add Python 3.10 to lambda runtime enum * Run make tfgen * Run make build_sdks * Add dotnet sdk folder
1 parent f29b232 commit e5973bd

File tree

7 files changed

+16
-6
lines changed

7 files changed

+16
-6
lines changed

provider/cmd/pulumi-resource-aws/schema.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75907,6 +75907,10 @@
7590775907
"name": "Python3d9",
7590875908
"value": "python3.9"
7590975909
},
75910+
{
75911+
"name": "Python3d10",
75912+
"value": "python3.10"
75913+
},
7591075914
{
7591175915
"name": "Custom",
7591275916
"value": "provided"

provider/resources.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5763,6 +5763,7 @@ func Provider() tfbridge.ProviderInfo {
57635763
{Value: "python3.7", Name: "Python3d7"},
57645764
{Value: "python3.8", Name: "Python3d8"},
57655765
{Value: "python3.9", Name: "Python3d9"},
5766+
{Value: "python3.10", Name: "Python3d10"},
57665767
{Value: "provided", Name: "Custom"},
57675768
{Value: "provided.al2", Name: "CustomAL2"},
57685769
},

sdk/dotnet/Lambda/Enums.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ private Runtime(string value)
4545
public static Runtime Python3d7 { get; } = new Runtime("python3.7");
4646
public static Runtime Python3d8 { get; } = new Runtime("python3.8");
4747
public static Runtime Python3d9 { get; } = new Runtime("python3.9");
48+
public static Runtime Python3d10 { get; } = new Runtime("python3.10");
4849
public static Runtime Custom { get; } = new Runtime("provided");
4950
public static Runtime CustomAL2 { get; } = new Runtime("provided.al2");
5051

sdk/go/aws/lambda/pulumiEnums.go

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/java/src/main/java/com/pulumi/aws/lambda/enums/Runtime.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ public enum Runtime {
5959
Python3d7("python3.7"),
6060
Python3d8("python3.8"),
6161
Python3d9("python3.9"),
62+
Python3d10("python3.10"),
6263
Custom("provided"),
6364
CustomAL2("provided.al2");
6465

sdk/nodejs/types/enums/lambda/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export const Runtime = {
3838
Python3d7: "python3.7",
3939
Python3d8: "python3.8",
4040
Python3d9: "python3.9",
41+
Python3d10: "python3.10",
4142
Custom: "provided",
4243
CustomAL2: "provided.al2",
4344
} as const;

sdk/python/pulumi_aws/lambda_/_enums.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,6 @@ class Runtime(str, Enum):
3333
PYTHON3D7 = "python3.7"
3434
PYTHON3D8 = "python3.8"
3535
PYTHON3D9 = "python3.9"
36+
PYTHON3D10 = "python3.10"
3637
CUSTOM = "provided"
3738
CUSTOM_AL2 = "provided.al2"

0 commit comments

Comments
 (0)