diff --git a/terraform/da-terraform-configurations b/terraform/da-terraform-configurations index 1b90976..685995d 160000 --- a/terraform/da-terraform-configurations +++ b/terraform/da-terraform-configurations @@ -1 +1 @@ -Subproject commit 1b90976a36bd6bb5784bf08592b8efc420f2834b +Subproject commit 685995dc11e6f233e8b34e7c2a19a77bdee7a909 diff --git a/terraform/da-terraform-modules b/terraform/da-terraform-modules index baa17c1..c65c877 160000 --- a/terraform/da-terraform-modules +++ b/terraform/da-terraform-modules @@ -1 +1 @@ -Subproject commit baa17c11018e96f7b9077a17dd9fd1e764e9fca4 +Subproject commit c65c877a4adf208923c16a0d097848de3b3dbe0b diff --git a/terraform/root_locals.tf b/terraform/root_locals.tf index fc682da..27fda4c 100644 --- a/terraform/root_locals.tf +++ b/terraform/root_locals.tf @@ -15,6 +15,7 @@ locals { reference_generator_function_name = "${var.project}-reference-generator-${local.hosting_environment}" reference_generator_api_gateway_name = "${upper(var.project)}ReferenceGenerator${local.hosting_environment}" reference_counter_table_name = "${var.project}-reference-counter" + reference_generator_limit = module.terraform_config_hosting_project.terraform_config["reference_generator_limit"] api_task_role_arn = module.terraform_config_hosting_project.terraform_config[local.hosting_environment]["api_task_role_arn"] api_execution_role_arn = module.terraform_config_hosting_project.terraform_config[local.hosting_environment]["api_execution_role_arn"] } diff --git a/terraform/root_main.tf b/terraform/root_main.tf index a2148e4..57bba3c 100644 --- a/terraform/root_main.tf +++ b/terraform/root_main.tf @@ -43,7 +43,7 @@ module "reference_generator_lambda" { REFERENCE_KEY_VALUE = "fileCounter" REFERENCE_COUNTER = "referenceCounter" QUERY_PARAM = "numberofrefs" - REFERENCE_LIMIT = 5000 + REFERENCE_LIMIT = local.reference_generator_limit } runtime = "java11" timeout_seconds = 60