From 5f2e76ffd58758e05adf8afe684817fd27b74a28 Mon Sep 17 00:00:00 2001 From: Lucas Marques Date: Mon, 19 Aug 2024 14:31:43 +0200 Subject: [PATCH 1/2] feat(lambda): upgrade python runtime to 3.12 --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 3ded36f..a7ab317 100644 --- a/main.tf +++ b/main.tf @@ -144,7 +144,7 @@ resource "aws_lambda_function" "start_stop_scheduler" { source_code_hash = filebase64sha256(data.archive_file.lambda_zip.output_path) - runtime = "python3.8" + runtime = "python3.12" environment { variables = { From 087fa5bbace249a29568b97dc02dc4e1a0762a10 Mon Sep 17 00:00:00 2001 From: Lucas Marques Date: Mon, 19 Aug 2024 14:34:32 +0200 Subject: [PATCH 2/2] feat(providers): upgrade aws provider to v5 --- versions.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions.tf b/versions.tf index a52d267..144043f 100644 --- a/versions.tf +++ b/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = "~> 4.0" + version = "~> 5.0" } archive = {