Skip to content

Commit

Permalink
Merge pull request #186 from asfadmin/cjl/feat/expose-tea-timeout
Browse files Browse the repository at this point in the history
expose the TEA lambda timeout value to allow for customization
  • Loading branch information
lindsleycj committed Feb 13, 2024
2 parents f7467a5 + 8b19607 commit ed6dbf3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Unreleased

* expose the TEA lambda timeout value to allow for DAAC customization
* add `--platform linux/amd64` to all Docker commands in `Makefile` so `make image` and
`make container-shell` work on Apple Silicon machines

Expand Down
1 change: 1 addition & 0 deletions cumulus/thin-egress.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module "thin_egress_app" {
html_template_dir = var.html_template_dir
jwt_algo = var.thin_egress_jwt_algo
jwt_secret_name = local.thin_egress_jwt_secret_name
lambda_timeout = var.thin_egress_lambda_timeout
lambda_code_dependency_archive_key = var.thin_egress_lambda_code_dependency_archive_key
log_api_gateway_to_cloudwatch = var.log_api_gateway_to_cloudwatch
permissions_boundary_name = "NGAPShRoleBoundary"
Expand Down
6 changes: 6 additions & 0 deletions cumulus/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,12 @@ variable "thin_egress_lambda_code_dependency_archive_key" {
description = "S3 Key of packaged python modules for lambda dependency layer."
}

variable "thin_egress_lambda_timeout" {
type = number
default = 6
description = "Timeout in seconds for thin egress lambda."
}

variable "egress_lambda_log_retention_days" {
type = number
default = 30
Expand Down

0 comments on commit ed6dbf3

Please sign in to comment.