Compare commits
4 commits
fc9bf8e920
...
8afd814b77
| Author | SHA1 | Date | |
|---|---|---|---|
| 8afd814b77 | |||
| b3f9e90588 | |||
| 0543790f1b | |||
| 171daa5383 |
2 changed files with 4 additions and 4 deletions
|
|
@ -21,5 +21,5 @@ provider "proxmox" {
|
|||
|
||||
module "talos" {
|
||||
source = "./talos"
|
||||
talos_versions = ["1.12.2"]
|
||||
talos_versions = ["1.12.6"]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue