0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-01 11:02:59 +00:00
terraform-provider-proxmox/examples/resources/proxmox_virtual_environment_file/resource.tf
Marco Attia 504add02f6
tests: add tests for content type "import"
Signed-off-by: Marco Attia <54147992+Vaneixus@users.noreply.github.com>
2025-06-24 14:45:47 -04:00

19 lines
579 B
HCL

resource "proxmox_virtual_environment_file" "latest_debian_12_bookworm_qcow2" {
content_type = "import"
datastore_id = "local"
node_name = "pve"
source_file {
path = "https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-generic-amd64.qcow2"
}
}
resource "proxmox_virtual_environment_file" "release_20231228_debian_12_bookworm_qcow2" {
content_type = "import"
datastore_id = "local"
node_name = "pve"
source_file {
path = "https://cloud.debian.org/images/cloud/bookworm/20231228-1609/debian-12-generic-amd64-20231228-1609.qcow2"
}
}