Skip to content

Commit

Permalink
feat(lambda): bump python version to 3.10
Browse files Browse the repository at this point in the history
Change Python version on the aws lambda runtime.
  • Loading branch information
diodonfrost committed Aug 27, 2023
1 parent 0c395e7 commit e80836a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit e80836a

Please sign in to comment.