Skip to content

Commit

Permalink
feat: expose TEA html_template_dir var
Browse files Browse the repository at this point in the history
  • Loading branch information
mckadesorensen committed Oct 5, 2023
1 parent 8899851 commit e3fc2d0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ Error: Cycle: module.cumulus.module.archive.aws_lambda_function.publish_pdrs (de
Error: Cycle: module.cumulus.module.archive.aws_lambda_function.publish_granules (destroy), module.cumulus.module.archive.aws_cloudwatch_log_group.publish_granules_logs (destroy)
```

## v15.0.3.5

* Add `html_template_dir` variable to cumulus module

## v15.0.3.3

Expand Down
1 change: 1 addition & 0 deletions cumulus/thin-egress.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module "thin_egress_app" {
domain_cert_arn = var.thin_egress_domain_cert_arn
domain_name = var.distribution_url == null ? null : replace(replace(var.distribution_url, "/^https?:///", ""), "//$/", "")
download_role_in_region_arn = var.thin_egress_download_role_in_region_arn
html_template_dir = var.html_template_dir
jwt_algo = var.thin_egress_jwt_algo
jwt_secret_name = local.thin_egress_jwt_secret_name
lambda_code_dependency_archive_key = var.thin_egress_lambda_code_dependency_archive_key
Expand Down
12 changes: 12 additions & 0 deletions cumulus/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -421,3 +421,15 @@ variable "s3credentials_endpoint" {
default = false
description = "Switch that will enable TEA deployment of the /s3credentials endpoint for s3 direct access."
}


variable "html_template_dir" {
type = string
default = null
description = <<-EOF
Directory in ConfigBucket where TEA will look for HTML templates.
TEA will not look into subdirectories.
Please put only HTML templates in this dir.
Leave this field blank to use default templates that are included with the lambda code zip file.
EOF
}

0 comments on commit e3fc2d0

Please sign in to comment.