Skip to content

Commit 26a5cbb

Browse files
committed
[NDR-181] remove lamba_edge lambda_timeout
1 parent 61e54cb commit 26a5cbb

File tree

3 files changed

+3
-13
lines changed

3 files changed

+3
-13
lines changed

infrastructure/lambda-edge-presign.tf

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,9 @@ module "edge_presign_alarm_topic" {
6666
}
6767

6868
module "edge-presign-lambda" {
69-
source = "./modules/lambda_edge"
70-
lambda_timeout = 5
71-
name = "EdgePresignLambda"
72-
handler = "handlers.edge_presign_handler.lambda_handler"
69+
source = "./modules/lambda_edge"
70+
name = "EdgePresignLambda"
71+
handler = "handlers.edge_presign_handler.lambda_handler"
7372
iam_role_policies = [
7473
"arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole",
7574
aws_iam_policy.ssm_access_policy.arn,

infrastructure/modules/lambda_edge/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ module "s3_proxy_lambda" {
3636
# Optional: Memory allocation in MB
3737
memory_size = 128
3838
39-
# Optional: Function timeout in seconds
40-
lambda_timeout = 30
41-
4239
# Optional: Ephemeral storage in MB
4340
lambda_ephemeral_storage = 512
4441
@@ -75,7 +72,6 @@ module "s3_proxy_lambda" {
7572
| <a name="input_handler"></a> [handler](#input\_handler) | n/a | `string` | n/a | yes |
7673
| <a name="input_iam_role_policies"></a> [iam\_role\_policies](#input\_iam\_role\_policies) | n/a | `list(string)` | n/a | yes |
7774
| <a name="input_lambda_ephemeral_storage"></a> [lambda\_ephemeral\_storage](#input\_lambda\_ephemeral\_storage) | n/a | `number` | `512` | no |
78-
| <a name="input_lambda_timeout"></a> [lambda\_timeout](#input\_lambda\_timeout) | n/a | `number` | `30` | no |
7975
| <a name="input_memory_size"></a> [memory\_size](#input\_memory\_size) | n/a | `number` | `128` | no |
8076
| <a name="input_name"></a> [name](#input\_name) | n/a | `string` | n/a | yes |
8177
| <a name="input_reserved_concurrent_executions"></a> [reserved\_concurrent\_executions](#input\_reserved\_concurrent\_executions) | The number of concurrent execution allowed for lambda. A value of 0 will stop lambda from running, and -1 removes any concurrency limitations. Default to -1. | `number` | `-1` | no |

infrastructure/modules/lambda_edge/variable.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ variable "handler" {
66
type = string
77
}
88

9-
variable "lambda_timeout" {
10-
type = number
11-
default = 30
12-
}
13-
149
variable "memory_size" {
1510
type = number
1611
default = 128

0 commit comments

Comments
 (0)