Skip to content

Commit

Permalink
fix: incorrect secret arn (#564)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wi11Shell authored Jan 21, 2025
1 parent b5fdc14 commit 6117b4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infra/terraform/modules/service/batch.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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::"
},
]
}
Expand Down Expand Up @@ -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::"
},
]
}
Expand Down

0 comments on commit 6117b4c

Please sign in to comment.