Skip to content

Commit

Permalink
fix: incorrect secret arn
Browse files Browse the repository at this point in the history
  • Loading branch information
Wi11Shell committed Jan 21, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent b5fdc14 commit f757c33
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
@@ -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::"
},
]
}

0 comments on commit f757c33

Please sign in to comment.