Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# PYTHON_VER: python3

# ---------------------------
DOCKER_TAG := v21.0.1.0
DOCKER_TAG := v21.2.0.0
export TF_IN_AUTOMATION="true"
export TF_VAR_MATURITY=${MATURITY}
export TF_VAR_DEPLOY_NAME=${DEPLOY_NAME}
Expand Down
2 changes: 1 addition & 1 deletion cumulus/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "cumulus" {
source = "https://github.com/nasa/cumulus/releases/download/v21.0.1/terraform-aws-cumulus.zip//tf-modules/cumulus"
source = "https://github.com/nasa/cumulus/releases/download/v21.2.0/terraform-aws-cumulus.zip//tf-modules/cumulus"

cumulus_message_adapter_lambda_layer_version_arn = data.terraform_remote_state.daac.outputs.cma_layer_arn

Expand Down
30 changes: 30 additions & 0 deletions cumulus/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -488,3 +488,33 @@ variable "html_template_dir" {
Leave this field blank to use default templates that are included with the lambda code zip file.
EOF
}

variable "archive_records_config" {
type = object({
deploy_rule = bool, # deploy the archive records cron eventBridgeRule
update_limit = number, # number of granules or executions to archive in one run
batch_size = number, # number of granules or executions to archive call to the /archive endpoint
expiration_days = number, # age (in days) after which granules or executions should be archived
schedule_expression = string, # CloudWatch cron schedule for the record archival lambda
})
description = "config object for archive-records tooling"
default = {
deploy_rule = true,
update_limit = 100000,
batch_size = 10000,
expiration_days = 365,
schedule_expression = "cron(0 4 * * ? *)",
}
}

variable "sync_granule_s3_jitter_max_ms" {
description = "Maximum random jitter in milliseconds to apply before S3 operations in SyncGranule task (0-59000). Set to 0 to disable jitter."
type = number
default = 0
}

variable "allow_provider_mismatch_on_rule_filter" {
description = "optional variable to be used in message_consumer lambdas for disabling rule/message provider mismatches"
type = bool
default = false
}
2 changes: 1 addition & 1 deletion data-persistence/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "data_persistence" {
source = "https://github.com/nasa/cumulus/releases/download/v21.0.1/terraform-aws-cumulus.zip//tf-modules/data-persistence"
source = "https://github.com/nasa/cumulus/releases/download/v21.2.0/terraform-aws-cumulus.zip//tf-modules/data-persistence"

prefix = local.prefix
subnet_ids = data.aws_subnets.subnet_ids.ids
Expand Down
Loading