mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-08-22 19:38:35 +00:00
* 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>
23 lines
938 B
HCL
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
|
|
}
|