Fix nomad vault policies

This commit is contained in:
IamTheFij 2022-04-04 22:19:32 -07:00
parent f1c7e57682
commit 428306cdb2
2 changed files with 2 additions and 2 deletions

View File

@ -2,5 +2,5 @@ resource "nomad_acl_policy" "create_post_bootstrap_policy" {
# count = can(tobool(var.nomad_secret_id)) ? 1 : 0
name = "anonymous"
description = "Anon RW"
rules_hcl = file("${path.module}/acls/nomad-anon-bootstrap.hcl")
rules_hcl = file("${path.module}/nomad-anon-bootstrap.hcl")
}

View File

@ -12,7 +12,7 @@ resource "vault_nomad_secret_backend" "config" {
resource "vault_nomad_secret_role" "nomad-deploy" {
backend = vault_nomad_secret_backend.config.backend
role = "nomad-deploy"
# policies = ["nomad-deploy"]
policies = ["nomad-deploy"]
}
resource "vault_nomad_secret_role" "admin" {