Skip to content

Commit 2d6754d

Browse files
authored
Update main.tf
Upgrade Lambda runtime to Python3.8
1 parent fe6d071 commit 2d6754d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ resource "aws_lambda_function" "autoscale_handling" {
110110
function_name = "${var.vpc_name}-${var.autoscale_handler_unique_identifier}"
111111
role = aws_iam_role.autoscale_handling.arn
112112
handler = "autoscale.lambda_handler"
113-
runtime = "python2.7"
113+
runtime = "python3.8"
114114
source_code_hash = filebase64sha256(data.archive_file.autoscale.output_path)
115115
description = "Handles DNS for autoscaling groups by receiving autoscaling notifications and setting/deleting records from route53"
116116
environment {

0 commit comments

Comments
 (0)