From cb0725218189583c81cebd2039a9700f71aa3f28 Mon Sep 17 00:00:00 2001 From: cruizba Date: Fri, 8 Sep 2023 18:06:42 +0200 Subject: [PATCH] deployment: Update Lambda runtime to python3.11 for AWS deployments --- openvidu-server/deployments/ce/aws/CF-OpenVidu.yaml.template | 2 +- .../enterprise/aws/CF-OpenVidu-Enterprise.yaml.template | 4 ++-- .../enterprise/aws/dev/CF-OpenVidu-Enterprise-dev-master.yaml | 4 ++-- .../deployments/external-turn/aws/CF-External-Turn.yml | 2 +- .../deployments/pro/aws/CF-OpenVidu-Pro.yaml.template | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/openvidu-server/deployments/ce/aws/CF-OpenVidu.yaml.template b/openvidu-server/deployments/ce/aws/CF-OpenVidu.yaml.template index ac2c79af..58c37cba 100644 --- a/openvidu-server/deployments/ce/aws/CF-OpenVidu.yaml.template +++ b/openvidu-server/deployments/ce/aws/CF-OpenVidu.yaml.template @@ -508,7 +508,7 @@ Resources: Handler: index.handler Role: !GetAtt CloudformationLambdaRole.Arn - Runtime: python3.7 + Runtime: python3.11 Timeout: 900 CloudformationLambdaInvoke: diff --git a/openvidu-server/deployments/enterprise/aws/CF-OpenVidu-Enterprise.yaml.template b/openvidu-server/deployments/enterprise/aws/CF-OpenVidu-Enterprise.yaml.template index 875e1b14..12d03950 100644 --- a/openvidu-server/deployments/enterprise/aws/CF-OpenVidu-Enterprise.yaml.template +++ b/openvidu-server/deployments/enterprise/aws/CF-OpenVidu-Enterprise.yaml.template @@ -1254,7 +1254,7 @@ Resources: Handler: index.handler Role: !GetAtt LambdaOnDeleteRole.Arn - Runtime: python3.7 + Runtime: python3.11 Timeout: 900 LambdaOnDeleteInvoke: @@ -1378,7 +1378,7 @@ Resources: Handler: index.handler Role: !GetAtt LambdaOnCreateRole.Arn - Runtime: python3.7 + Runtime: python3.11 Timeout: 900 LambdaOnCreateInvoke: diff --git a/openvidu-server/deployments/enterprise/aws/dev/CF-OpenVidu-Enterprise-dev-master.yaml b/openvidu-server/deployments/enterprise/aws/dev/CF-OpenVidu-Enterprise-dev-master.yaml index 0e5cb8d9..1e8e0a8a 100644 --- a/openvidu-server/deployments/enterprise/aws/dev/CF-OpenVidu-Enterprise-dev-master.yaml +++ b/openvidu-server/deployments/enterprise/aws/dev/CF-OpenVidu-Enterprise-dev-master.yaml @@ -1207,7 +1207,7 @@ Resources: Handler: index.handler Role: !GetAtt LambdaOnDeleteRole.Arn - Runtime: python3.7 + Runtime: python3.11 Timeout: 900 LambdaOnDeleteInvoke: @@ -1331,7 +1331,7 @@ Resources: Handler: index.handler Role: !GetAtt LambdaOnCreateRole.Arn - Runtime: python3.7 + Runtime: python3.11 Timeout: 900 LambdaOnCreateInvoke: diff --git a/openvidu-server/deployments/external-turn/aws/CF-External-Turn.yml b/openvidu-server/deployments/external-turn/aws/CF-External-Turn.yml index 6f1107a6..65782579 100644 --- a/openvidu-server/deployments/external-turn/aws/CF-External-Turn.yml +++ b/openvidu-server/deployments/external-turn/aws/CF-External-Turn.yml @@ -139,7 +139,7 @@ Resources: Handler: index.handler Role: !Sub ${DescribeImagesRole.Arn} Timeout: 60 - Runtime: python3.9 + Runtime: python3.11 Code: ZipFile: | import boto3 diff --git a/openvidu-server/deployments/pro/aws/CF-OpenVidu-Pro.yaml.template b/openvidu-server/deployments/pro/aws/CF-OpenVidu-Pro.yaml.template index e6455dac..07fef950 100644 --- a/openvidu-server/deployments/pro/aws/CF-OpenVidu-Pro.yaml.template +++ b/openvidu-server/deployments/pro/aws/CF-OpenVidu-Pro.yaml.template @@ -1073,7 +1073,7 @@ Resources: Handler: index.handler Role: !GetAtt CloudformationLambdaRole.Arn - Runtime: python3.7 + Runtime: python3.11 Timeout: 900 CloudformationLambdaInvoke: