Compare commits

...

4 commits

Author SHA1 Message Date
8afd814b77 Merge pull request 'chore: Use proxmox_download_file in stead of deprecated resource' (#17) from pgi-update-resource into main
All checks were successful
Tofu Apply pve01.wheatley.in templates / tofu-apply-templates (push) Successful in 26s
Reviewed-on: #17
2026-04-17 20:32:52 +02:00
b3f9e90588
fix; Remove rc release
All checks were successful
Tofu Plan pve01.wheatley.in templates / tofu-plan-templates (pull_request) Successful in 22s
2026-04-17 20:31:58 +02:00
0543790f1b
chore: Bump talos versions
All checks were successful
Tofu Plan pve01.wheatley.in templates / tofu-plan-templates (pull_request) Successful in 20s
2026-04-17 20:30:18 +02:00
171daa5383
chore: Use proxmox_download_file in stead of deprecated resource
All checks were successful
Tofu Plan pve01.wheatley.in templates / tofu-plan-templates (pull_request) Successful in 28s
2026-04-17 20:28:25 +02:00
2 changed files with 4 additions and 4 deletions

View file

@ -21,5 +21,5 @@ provider "proxmox" {
module "talos" {
source = "./talos"
talos_versions = ["1.12.2"]
talos_versions = ["1.12.6"]
}

View file

@ -22,7 +22,7 @@ locals {
storagepool = "nvme-fastpool"
}
resource "proxmox_virtual_environment_download_file" "talos-image" {
resource "proxmox_download_file" "talos-image" {
for_each = toset(var.talos_versions)
node_name = "pve01"
@ -35,7 +35,7 @@ resource "proxmox_virtual_environment_download_file" "talos-image" {
}
resource "proxmox_virtual_environment_vm" "talos-template" {
depends_on = [proxmox_virtual_environment_download_file.talos-image]
depends_on = [proxmox_download_file.talos-image]
for_each = toset(var.talos_versions)
template = true
@ -63,7 +63,7 @@ resource "proxmox_virtual_environment_vm" "talos-template" {
disk {
datastore_id = local.storagepool
interface = "virtio0"
file_id = proxmox_virtual_environment_download_file.talos-image[each.value].id
file_id = proxmox_download_file.talos-image[each.value].id
file_format = "raw"
}
efi_disk {