Remove ghp agent role (missing installation_id; unblock apply) #131
Reference in New Issue
Block a user
Delete Branch "benvin/remove-ghp-role-for-now"
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
ghpagent role fails at apply withCode: 400 — installation_id is required for agent tokens. The role configconfig/ghp_secret_backend_role/ghp/agent.yamlcarries only a placeholderinstallation_id, so the role can never be created. This failure blocks the terraform-vault master apply, which in turn blocks the arrstack #127 apply.Remove the ghp role for now so the master apply goes green. The
ghpsecret backend itself is retained (it now mounts and configures cleanly). The role can be re-added once a realinstallation_idis provided.Because the role never successfully created (apply failed on it), removing it is non-destructive — it is not in state, so no destroy is introduced.
Changes
config/ghp_secret_backend_role/ghp/agent.yaml, which empties theghp_secret_backend_rolefor_each map so no role instance (and no downstream ghp_secret_role) is planned.Backend
config/ghp_secret_backend/ghp.yamland all other config are unchanged. Net diff vs master is exactly this one file deletion.