Skip to content

Commit 590f5ee

Browse files
committed
Added fixes for lambda
1 parent 90af85c commit 590f5ee

File tree

3 files changed

+3
-182
lines changed

3 files changed

+3
-182
lines changed

apps/api.nameguard.io/serverless.yml

Lines changed: 0 additions & 181 deletions
This file was deleted.

apps/api.nameguard.io/terraform/modules/lambda_api/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ resource "aws_cloudfront_distribution" "api_distribution" {
106106
https_port = 443
107107
origin_protocol_policy = "https-only"
108108
origin_ssl_protocols = ["TLSv1.2"]
109+
origin_read_timeout = 60
110+
origin_keepalive_timeout = 60
109111
}
110112
}
111113

apps/api.nameguard.io/terraform/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ variable "image_uri" {
99
}
1010

1111
variable "domain_name" {
12-
description = "Custom domain name for API Gateway"
12+
description = "Custom domain name for API"
1313
type = string
1414
}
1515

0 commit comments

Comments
 (0)