remove index.js archive folder

This commit is contained in:
Michaela Wheeler 2022-01-02 17:56:19 +11:00
parent faee9374bc
commit 68784b063c

7
cdn.tf
View File

@ -1,12 +1,5 @@
# manages the short codes
data "archive_file" "redirect" {
type = "zip"
source_file = "redirect/index.js"
output_path = "${path.module}/build/redirect.zip"
}
resource "aws_lambda_function" "redirect" {
function_name = "sondehub-redirect"