Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Upgrades the runtimes for lambdas to python3.8 #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions route53-ddns.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand All @@ -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}"
Expand Down