diff --git a/project/Dependencies.scala b/project/Dependencies.scala index 9a1ba6c..b59b712 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -7,7 +7,7 @@ object Dependencies { lazy val scalaTest = "org.scalatest" %% "scalatest" % "3.2.17" lazy val awsSdkDynamoDbV2 = "software.amazon.awssdk" % "dynamodb" % "2.21.0" - lazy val awsSdkDynamoDbV1 = "com.amazonaws" % "aws-java-sdk-dynamodb" % "1.12.562" + lazy val awsSdkDynamoDbV1 = "com.amazonaws" % "aws-java-sdk-dynamodb" % "1.12.571" lazy val lambdaJavaCore = "com.amazonaws" % "aws-lambda-java-core" % "1.2.3" lazy val lambdaJavaEvents = "com.amazonaws" % "aws-lambda-java-events" % "3.11.3" lazy val ocitools = "uk.gov.nationalarchives.oci" % "oci-tools-scala_2.13" % "0.3.0" diff --git a/terraform/da-terraform-configurations b/terraform/da-terraform-configurations index 43e57c2..685995d 160000 --- a/terraform/da-terraform-configurations +++ b/terraform/da-terraform-configurations @@ -1 +1 @@ -Subproject commit 43e57c284c1cdb3367b4b126926dd08e36b31ae5 +Subproject commit 685995dc11e6f233e8b34e7c2a19a77bdee7a909 diff --git a/terraform/da-terraform-modules b/terraform/da-terraform-modules index c2b9fad..c65c877 160000 --- a/terraform/da-terraform-modules +++ b/terraform/da-terraform-modules @@ -1 +1 @@ -Subproject commit c2b9fad96cacf15e252609ba60c3e0d3253739eb +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