terraform-vault/auth_approle_terraform_incus.tf
Ben Vincent 4364b444fd feat: update policy names to be path based
- change policy names to be based on the path they are stored at
2025-11-15 10:48:17 +11:00

18 lines
432 B
HCL

resource "vault_approle_auth_backend_role" "terraform_incus" {
role_name = "terraform_incus"
bind_secret_id = false
token_policies = [
"default_access",
"kv/service/terraform/incus",
"kv/service/puppet/certificates/terraform_puppet_cert",
]
token_ttl = 60
token_max_ttl = 120
token_bound_cidrs = [
"10.10.12.200/32",
"198.18.25.102/32",
"198.18.26.91/32",
"198.18.27.40/32",
]
}