From 2fc533f612af7fcef571c8396a8ba9c71360e2a9 Mon Sep 17 00:00:00 2001 From: Rohan Weeden Date: Tue, 5 Sep 2023 11:34:23 -0400 Subject: [PATCH] Add `deploy_cumulus_distribution` variable to cumulus module --- CHANGELOG.md | 4 ++++ cumulus/main.tf | 1 + cumulus/variables.tf | 6 ++++++ 3 files changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e25b82..1ec1bc9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Unreleased +* Add `deploy_cumulus_distribution` variable to cumulus module * Update build Dockerfile to create an entry in /etc/passwd for the user building the image. It allows the `setup_jwt_cookie.sh` script to be run inside the container. @@ -31,6 +32,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.4 + +* Add `deploy_cumulus_distribution` variable to cumulus module ## v15.0.3.3 diff --git a/cumulus/main.tf b/cumulus/main.tf index af43b7d..7e18c58 100644 --- a/cumulus/main.tf +++ b/cumulus/main.tf @@ -98,6 +98,7 @@ module "cumulus" { api_gateway_stage = var.MATURITY log_destination_arn = var.log_destination_arn + deploy_cumulus_distribution = var.deploy_cumulus_distribution deploy_distribution_s3_credentials_endpoint = var.deploy_distribution_s3_credentials_endpoint additional_log_groups_to_elk = var.additional_log_groups_to_elk diff --git a/cumulus/variables.tf b/cumulus/variables.tf index 9ffe6f1..20d1670 100644 --- a/cumulus/variables.tf +++ b/cumulus/variables.tf @@ -270,6 +270,12 @@ variable "urs_url" { default = "https://uat.urs.earthdata.nasa.gov" } +variable "deploy_cumulus_distribution" { + description = "If true, does not deploy the TEA distribution API" + type = bool + default = false +} + variable "deploy_distribution_s3_credentials_endpoint" { description = "Whether or not to include the S3 credentials endpoint in the Thin Egress App" type = bool