diff --git a/cloudformation/template.yml b/cloudformation/template.yml index 6652649..ad199b2 100644 --- a/cloudformation/template.yml +++ b/cloudformation/template.yml @@ -29,7 +29,7 @@ Resources: Handler: 'update_aws_ip_ranges.lambda_handler' MemorySize: 256 Role: !GetAtt 'LambdaUpdateIPRangesIamRole.Arn' - Runtime: python3.10 + Runtime: python3.11 Timeout: 300 ReservedConcurrentExecutions: 2 Code: diff --git a/terraform/main.tf b/terraform/main.tf index fff6f57..edc9ed7 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -275,7 +275,7 @@ resource "aws_lambda_function" "update_ip_ranges" { description = "This Lambda function, invoked by an incoming SNS message, updates the IPv4 and IPv6 ranges with the addresses from the specified services" role = aws_iam_role.update_ip_ranges.arn handler = "update_aws_ip_ranges.lambda_handler" - runtime = "python3.10" + runtime = "python3.11" timeout = 300 reserved_concurrent_executions = 2 memory_size = 256