From 6bb6232dc148b9799dfff7e6ae92732e9a3a65c8 Mon Sep 17 00:00:00 2001 From: unkin-agent Date: Tue, 17 Nov 2026 22:55:40 +1100 Subject: [PATCH] Import manually created netbox vault-user-mgmt role --- modules/vault_cluster/main.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/vault_cluster/main.tf b/modules/vault_cluster/main.tf index 21aca8b..98f17ee 100644 --- a/modules/vault_cluster/main.tf +++ b/modules/vault_cluster/main.tf @@ -648,6 +648,11 @@ 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