diff --git a/route53-ddns.tf b/route53-ddns.tf index 9acd6ec..e0dfc0d 100644 --- a/route53-ddns.tf +++ b/route53-ddns.tf @@ -56,7 +56,7 @@ resource "aws_lambda_function" "lambda" { description = "DynDNS v2 API compatible front end for Route 53" function_name = "route53-ddns" handler = "route53_ddns.handler" - runtime = "python2.7" + runtime = "python3.8" filename = "route53-ddns.zip" source_code_hash = "${base64sha256(file("route53-ddns.zip"))}" role = "${aws_iam_role.role.arn}" @@ -72,7 +72,7 @@ resource "aws_lambda_function" "authorizer" { description = "Authorizer for DynDNS v2 API compatible front end for Route 53" function_name = "route53-ddns-authorizer" handler = "route53_ddns_authorizer.handler" - runtime = "python2.7" + runtime = "python3.8" filename = "route53-ddns-authorizer.zip" source_code_hash = "${base64sha256(file("route53-ddns-authorizer.zip"))}" role = "${aws_iam_role.role.arn}"