orchestration-tests/nomad/acls/acls.tf

13 lines
426 B
Terraform
Raw Normal View History

2022-03-22 04:26:04 +00:00
resource "nomad_acl_policy" "create_post_bootstrap_policy" {
# count = can(tobool(var.nomad_secret_id)) ? 1 : 0
name = "anonymous"
description = "Anon RW"
2022-04-05 05:19:32 +00:00
rules_hcl = file("${path.module}/nomad-anon-bootstrap.hcl")
2022-03-22 04:26:04 +00:00
}
2022-07-27 03:14:48 +00:00
resource "nomad_acl_policy" "admin" {
name = "admin"
description = "admin policy with access to everything"
rules_hcl = file("${path.module}/nomad-anon-bootstrap.hcl")
}