0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-08-22 11:28:33 +00:00
terraform-provider-proxmox/example/resource_virtual_environment_download_file.tf
Shawn M. Hanes 757b191376
chore(example): apply consistency in example/*.tf node_name declarations (#2051)
* chore(example): apply consistency in example/*.tf node_name declarations

Signed-off-by: Shawn M. Hanes <smhanes15@gmail.com>

* chore: reformat .tf files

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

---------

Signed-off-by: Shawn M. Hanes <smhanes15@gmail.com>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-07-30 20:48:32 -04:00

23 lines
938 B
HCL

## Debian and ubuntu image download
resource "proxmox_virtual_environment_download_file" "release_20250701_ubuntu_24_10_lxc_img" {
content_type = "vztmpl"
datastore_id = "local"
node_name = data.proxmox_virtual_environment_nodes.example.names[0]
url = var.release_20250701_ubuntu_24_10_lxc_img_url
checksum = var.release_20250701_ubuntu_24_10_lxc_img_checksum
checksum_algorithm = "sha256"
upload_timeout = 4444
overwrite_unmanaged = true
}
resource "proxmox_virtual_environment_download_file" "latest_debian_12_bookworm_qcow2_img" {
content_type = "import"
datastore_id = "local"
file_name = "debian-12-generic-amd64.qcow2"
node_name = data.proxmox_virtual_environment_nodes.example.names[0]
url = var.latest_debian_12_bookworm_qcow2_img_url
overwrite = true
overwrite_unmanaged = true
}