diff --git a/infra/terraform/modules/service/batch.tf b/infra/terraform/modules/service/batch.tf index 3512b4525c..2313a3069a 100644 --- a/infra/terraform/modules/service/batch.tf +++ b/infra/terraform/modules/service/batch.tf @@ -57,7 +57,7 @@ locals { secrets = [ { name = "DB_PASSWORD" - valueFrom = "arn:aws:secretsmanager:eu-west-1:${data.aws_caller_identity.current.account_id}:secret:${var.batch.api_secret_file}:olcs_api_rds_password" + valueFrom = "${var.batch.api_secret_file}:olcs_api_rds_password::" }, ] } @@ -87,7 +87,7 @@ locals { secrets = [ { name = "DB_PASSWORD" - valueFrom = "${var.batch.api_secret_file}:olcs_api_rds_password" + valueFrom = "${var.batch.api_secret_file}:olcs_api_rds_password::" }, ] }