This commit is contained in:
Tomás Limpinho
2025-08-20 15:43:58 +01:00
parent 79f2c04501
commit b4e66758ac

View File

@ -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