From e80836a79c1a3638cdaf57d7574b08be24954722 Mon Sep 17 00:00:00 2001 From: diodonfrost Date: Sun, 27 Aug 2023 20:33:00 +0200 Subject: [PATCH] feat(lambda): bump python version to 3.10 Change Python version on the aws lambda runtime. --- main.tf | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index 9ddfaa9d..3a36b1b8 100644 --- a/main.tf +++ b/main.tf @@ -264,7 +264,7 @@ resource "aws_lambda_function" "this" { function_name = var.name role = var.custom_iam_role_arn == null ? aws_iam_role.this[0].arn : var.custom_iam_role_arn handler = "scheduler.main.lambda_handler" - runtime = "python3.9" + runtime = "python3.10" timeout = "600" kms_key_arn = var.kms_key_arn == null ? "" : var.kms_key_arn diff --git a/tox.ini b/tox.ini index 7a03b956..a1587b3e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion=4.6.0 -envlist = py39,pytest,flake8,black,pylint,mypy +envlist = py310,pytest,flake8,black,pylint,mypy skipsdist = True # Unit tests