From 8a71394783292fbf77ddc02715ac1b00c60d3f7f Mon Sep 17 00:00:00 2001 From: Kay Hau Date: Thu, 17 Oct 2024 11:25:57 +1100 Subject: [PATCH] Update some Lambda Python runtime from 3.8 to 3.12 --- .../API-Canary-SFN-Lambda/cfn/Apigw-Sfn-Lambda.template.yaml | 4 ++-- Lambda/cfn/Lambda-Init.template.yaml | 2 +- Workspaces/cfn/unhealthy-workspaces-cloudwatch-alarms.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/APIGateway/API-Canary-SFN-Lambda/cfn/Apigw-Sfn-Lambda.template.yaml b/APIGateway/API-Canary-SFN-Lambda/cfn/Apigw-Sfn-Lambda.template.yaml index 97ed1396..17ef21ee 100644 --- a/APIGateway/API-Canary-SFN-Lambda/cfn/Apigw-Sfn-Lambda.template.yaml +++ b/APIGateway/API-Canary-SFN-Lambda/cfn/Apigw-Sfn-Lambda.template.yaml @@ -79,7 +79,7 @@ Resources: Handler: index.lambda_handler MemorySize: 1024 Role: !GetAtt LambdaExecutionRole.Arn - Runtime: python3.8 + Runtime: python3.12 Timeout: 900 TracingConfig: Mode: !Ref FunctionTracingConfigMode @@ -156,7 +156,7 @@ Resources: Handler: index.lambda_handler MemorySize: 1024 Role: !GetAtt LambdaExecutionRole.Arn - Runtime: python3.8 + Runtime: python3.12 Timeout: 900 TracingConfig: Mode: !Ref FunctionTracingConfigMode diff --git a/Lambda/cfn/Lambda-Init.template.yaml b/Lambda/cfn/Lambda-Init.template.yaml index 79119780..a37a716e 100644 --- a/Lambda/cfn/Lambda-Init.template.yaml +++ b/Lambda/cfn/Lambda-Init.template.yaml @@ -41,7 +41,7 @@ Resources: Handler: index.lambda_handler MemorySize: 1024 Role: !GetAtt LambdaExecutionRole.Arn - Runtime: python3.8 + Runtime: python3.12 Timeout: 30 TracingConfig: Mode: Active diff --git a/Workspaces/cfn/unhealthy-workspaces-cloudwatch-alarms.yaml b/Workspaces/cfn/unhealthy-workspaces-cloudwatch-alarms.yaml index 412999de..6fdae74d 100644 --- a/Workspaces/cfn/unhealthy-workspaces-cloudwatch-alarms.yaml +++ b/Workspaces/cfn/unhealthy-workspaces-cloudwatch-alarms.yaml @@ -63,7 +63,7 @@ Resources: Properties: FunctionName: UnhealthyWorkSpacesAlert Handler: index.lambda_handler - Runtime: python3.8 + Runtime: python3.12 MemorySize: 1024 Timeout: 900 Code: