mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-06-30 02:31:10 +00:00
* feat(file): add `overwrite_unmanaged` attribute to `virtual_environment_download_file` resource * misc(ci): add a check for uncommitted generated docs * misc(ci): better dependency cache Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
23 lines
961 B
HCL
23 lines
961 B
HCL
## Debian and ubuntu image download
|
|
|
|
resource "proxmox_virtual_environment_download_file" "release_20231211_ubuntu_22_jammy_lxc_img" {
|
|
content_type = "vztmpl"
|
|
datastore_id = "local"
|
|
node_name = "pve"
|
|
url = "https://cloud-images.ubuntu.com/releases/22.04/release-20231211/ubuntu-22.04-server-cloudimg-amd64-root.tar.xz"
|
|
checksum = "c9997dcfea5d826fd04871f960c513665f2e87dd7450bba99f68a97e60e4586e"
|
|
checksum_algorithm = "sha256"
|
|
upload_timeout = 4444
|
|
overwrite_unmanaged = true
|
|
}
|
|
|
|
resource "proxmox_virtual_environment_download_file" "latest_debian_12_bookworm_qcow2_img" {
|
|
content_type = "iso"
|
|
datastore_id = "local"
|
|
file_name = "debian-12-generic-amd64.img"
|
|
node_name = "pve"
|
|
url = "https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-generic-amd64.qcow2"
|
|
overwrite = true
|
|
overwrite_unmanaged = true
|
|
}
|