Skip to content

Commit

Permalink
Expose TF var.is_forecasted_grants_enabled at project level
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerHendrickson committed Oct 15, 2024
1 parent 7e21ee6 commit d2dcdbb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions terraform/local.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ eventbridge_scheduler_enabled = false
ssm_deployment_parameters_path_prefix = "/grants-ingest/local"
dynamodb_contributor_insights_enabled = false
ffis_ingest_email_address = "[email protected]"
is_forecasted_grants_enabled = true
max_split_grantsgov_opportunity_records = 10
max_split_grantsgov_forecast_records = 10
ses_active_receipt_rule_set_enabled = false
Expand Down
1 change: 1 addition & 0 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,7 @@ module "SplitGrantsGovXMLDB" {
grants_prepared_data_bucket_name = module.grants_prepared_data_bucket.bucket_id
grants_prepared_dynamodb_table_name = module.grants_prepared_dynamodb_table.table_name
grants_prepared_dynamodb_table_arn = module.grants_prepared_dynamodb_table.table_arn
is_forecasted_grants_enabled = var.is_forecasted_grants_enabled
max_split_records = var.max_split_grantsgov_records
max_split_opportunity_records = var.max_split_grantsgov_opportunity_records
max_split_forecast_records = var.max_split_grantsgov_forecast_records
Expand Down
6 changes: 6 additions & 0 deletions terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,12 @@ variable "ses_active_receipt_rule_set_enabled" {
default = true
}

variable "is_forecasted_grants_enabled" {
description = "When true, enables processing of forecasted grant records from Grants.gov."
type = bool
default = false
}

variable "max_split_grantsgov_records" {
description = "Optional hard limit (i.e. for testing) on the number of records (of any type) that SplitGrantsGovXMLDB handler will process during a single invocation."
type = number
Expand Down

0 comments on commit d2dcdbb

Please sign in to comment.