From b4e66758ac97bdc86e08f9a17236e3724b44069e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Limpinho?= <53994778+TomasLimpinho@users.noreply.github.com> Date: Wed, 20 Aug 2025 15:43:58 +0100 Subject: [PATCH] a --- proxmox.tf | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/proxmox.tf b/proxmox.tf index 75d8dc9..6bbcb9c 100644 --- a/proxmox.tf +++ b/proxmox.tf @@ -1,9 +1,12 @@ provider "proxmox" { - endpoint = var.proxmox_server - api_token = var.proxmox_apikey + endpoint = var.virtual_environment_endpoint + api_token = var.virtual_environment_token + ssh { + agent = true + username = "terraform" + } } - resource "proxmox_virtual_environment_download_file" "Fedora-iso" { content_type = "iso" # tipo do arquivo datastore_id = "local" # datastore do Proxmox onde o arquivo serĂ¡ guardado