Skip to content

Commit

Permalink
fix: ref to secret as dynamic value
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Buchleitner <[email protected]>
  • Loading branch information
mabunixda committed Oct 25, 2024
1 parent d6daf41 commit 76873f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ data "vault_policy_document" "nomad-dynamic-app" {

data "vault_policy_document" "nomad-mysql" {
rule {
path = "${vault_mount.kv.path}/data/database_root"
path = "${vault_mount.kv.path}/data/${vault_kv_secret_v2.admin.name}"
capabilities = ["read"]
}
}
Expand Down

0 comments on commit 76873f5

Please sign in to comment.