Move netbox role import into generated root config
ci/woodpecker/pr/plan Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful

This commit is contained in:
2026-11-17 23:02:15 +11:00
parent eab246f3f2
commit d71842da40
2 changed files with 5 additions and 5 deletions
+5
View File
@@ -35,6 +35,11 @@ provider "arrstack" {
address = local.vault_addr
}
import {
to = module.netbox_user_mgmt_role["netbox"].netbox_secret_backend_role.this
id = "netbox/roles/vault-user-mgmt"
}
terraform {
backend "consul" {
address = "https://consul.service.consul"
-5
View File
@@ -648,11 +648,6 @@ module "netbox_user_mgmt_role" {
depends_on = [module.netbox_secret_backend]
}
import {
to = module.netbox_user_mgmt_role["netbox"].netbox_secret_backend_role.this
id = "netbox/roles/vault-user-mgmt"
}
# Declaratively manage the NetBox service users + object permissions the engine
# roles mint tokens for, authenticating with the Vault-minted user-admin token
# above (mirrors consul_acl_management). Consumes the SAME role config as