fix vault: modify ansible policy

This commit is contained in:
vincent 2023-08-25 10:14:29 +02:00
parent 0538343169
commit 3ac0213417

View File

@ -51,6 +51,11 @@ data "vault_policy_document" "ansible" {
path = "secrets/data/database" path = "secrets/data/database"
capabilities = ["read", "list"] capabilities = ["read", "list"]
} }
rule {
path = "secrets/data/database/*"
capabilities = ["read", "list"]
}
} }
resource "vault_policy" "ansible" { resource "vault_policy" "ansible" {