remove access-table policy

This commit is contained in:
vincent 2022-10-30 09:35:59 +01:00
parent bb1bb51b4a
commit 4b2fc3b11d

View File

@ -38,25 +38,6 @@ resource "vault_policy" "nomad-server-policy" {
policy = data.vault_policy_document.nomad_server_policy.hcl
}
data "vault_policy_document" "access-tables" {
rule {
path = "secrets/*"
capabilities= ["read","list"]
}
rule {
path = "secrets/ansible"
capabilities = ["deny"]
}
}
resource "vault_policy" "access-tables" {
name = "access-tables"
policy = data.vault_policy_document.access-tables.hcl
}
data "vault_policy_document" "ansible" {
rule {
path = "secrets/data/ansible/*"