From 4aebae7d0935147f99a9b502f2f9167803d3acfa Mon Sep 17 00:00:00 2001 From: Leonardo Azize Martins Date: Wed, 20 Sep 2023 11:38:00 -0300 Subject: [PATCH] chore: upgrade python version --- cloudformation/template.yml | 2 +- terraform/main.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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