diff --git a/opentofu/modules/proxmox-node/main.tf b/opentofu/modules/proxmox-node/main.tf index b495f66..a0fc0f7 100644 --- a/opentofu/modules/proxmox-node/main.tf +++ b/opentofu/modules/proxmox-node/main.tf @@ -110,10 +110,9 @@ resource "proxmox_virtual_environment_acl" "control_center_storage" { } resource "proxmox_virtual_environment_user_token" "control_center_token" { - user_id = proxmox_virtual_environment_user.control_center_user.user_id - token_id = "gitops" - privsep = false - comment = "Stored only on the Control Center VM" + user_id = proxmox_virtual_environment_user.control_center_user.user_id + token_name = "gitops" + comment = "Stored only on the Control Center VM" } output "control_center_api_token" {