diff --git a/cdn.tf b/cdn.tf index 29655db..a614b5c 100644 --- a/cdn.tf +++ b/cdn.tf @@ -9,15 +9,15 @@ data "archive_file" "redirect" { resource "aws_lambda_function" "redirect" { - function_name = "sondehub-redirect" - handler = "redirect.handler" - s3_bucket = aws_s3_bucket_object.lambda.bucket - s3_key = aws_s3_bucket_object.lambda.key - publish = true - memory_size = 128 - role = aws_iam_role.basic_lambda_role.arn - runtime = "python3.9" - timeout = 3 + function_name = "sondehub-redirect" + handler = "redirect.handler" + s3_bucket = aws_s3_bucket_object.lambda.bucket + s3_key = aws_s3_bucket_object.lambda.key + publish = true + memory_size = 128 + role = aws_iam_role.basic_lambda_role.arn + runtime = "python3.9" + timeout = 3 }