Temporarily remove ghp secret backend + roles (unblock apply) #129
Reference in New Issue
Block a user
Delete Branch "benvin/remove-ghp-backend-temp"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The
terraform-vaultmaster apply aborts with:The ghp secret backend reads its admin token from a KV path that has not been
seeded yet, so the apply fails and blocks every other change — including the
arrstack plugin registration (#125).
This PR removes only the ghp backend + role config YAMLs (empties the
for_eachmap). With no config YAMLs,var.ghp_secret_backend/var.ghp_secret_backend_roleare empty maps, so zero ghp backend/roleinstances are created, the unseeded
ghp/configKV is never read, and theapply passes. The ghp module wiring, plugin registration, and policies all stay
in place. This is part 1 of a remove -> grant write policy -> seed KV -> re-add
sequence, and the YAMLs will be restored once the ghp config KV is seeded.
Changes
config/ghp_secret_backend/ghp.yaml.config/ghp_secret_backend_role/ghp/agent.yaml.Net diff vs
masteris exactly those two file deletions. All ghp wiring isunchanged (identical to master): the
module.ghp_secret_backend/module.ghp_secret_backend_roleinstantiations, their variables, theconfig.hclparsing blocks, theterragrunt.hclinputs, thevault-plugin-secrets-ghpplugin registration, and theghp/admin+ghp/creds/agentpolicies all remain.