Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expose the TEA lambda timeout value to allow for customization #186

Merged
merged 2 commits into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading