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
Pavel Boldyrev 09e3cd62b7
chore(tests): allow different node / storage names in "example tests" (#2042)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Signed-off-by: MacherelR <64424331+MacherelR@users.noreply.github.com>
Co-authored-by: MacherelR <64424331+MacherelR@users.noreply.github.com>
2025-07-14 23:56:23 +00:00

23 lines
903 B
HCL

## Debian and ubuntu image download
resource "proxmox_virtual_environment_download_file" "release_20250610_ubuntu_24_noble_lxc_img" {
content_type = "vztmpl"
datastore_id = "local"
node_name = var.virtual_environment_node_name
url = var.release_20250610_ubuntu_24_noble_lxc_img_url
checksum = var.release_20250610_ubuntu_24_noble_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 = var.virtual_environment_node_name
url = var.latest_debian_12_bookworm_qcow2_img_url
overwrite = true
overwrite_unmanaged = true
}