diff --git a/main.tf b/main.tf index ee2b76f..0eb5cb9 100644 --- a/main.tf +++ b/main.tf @@ -110,7 +110,7 @@ resource "aws_lambda_function" "autoscale_handling" { function_name = "${var.vpc_name}-${var.autoscale_handler_unique_identifier}" role = aws_iam_role.autoscale_handling.arn handler = "autoscale.lambda_handler" - runtime = "python3.8" + runtime = "python3.12" source_code_hash = filebase64sha256(data.archive_file.autoscale.output_path) description = "Handles DNS for autoscaling groups by receiving autoscaling notifications and setting/deleting records from route53" environment {