Skip to content

Commit

Permalink
Correct secret reference
Browse files Browse the repository at this point in the history
  • Loading branch information
danlysiak authored Oct 26, 2023
1 parent 6439246 commit 03448a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infrastructure/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ data "azurerm_key_vault" "key_vault" {
}

resource "azurerm_key_vault_secret" "POSTGRES-USER" {
name = "opal-db-POSTGRES-USER"
name = "${var.component}-POSTGRES-USER"
value = module.opal_db.username
key_vault_id = data.azurerm_key_vault.key_vault.id
}
Expand Down

0 comments on commit 03448a3

Please sign in to comment.