homelab-nomad/acls/consul_policies.tf

16 lines
221 B
Terraform
Raw Permalink Normal View History

2022-07-27 20:39:19 +00:00
resource "consul_acl_policy" "server_policy" {
name = "consul-servers"
rules = <<EOH
node_prefix "server-" {
policy = "write"
}
node_prefix "" {
policy = "read"
}
service_prefix "" {
policy = "read"
}
EOH
}