fix(terraform): Update syntax for Proxmox provider v3.0.2-rc05
Some checks failed
CD - Deploy Infrastructure / Terraform Validation (push) Successful in 18s
CD - Deploy Infrastructure / Deploy on pve1 (push) Failing after 8s
CD - Deploy Infrastructure / Deploy on pve2 (push) Failing after 8s
CD - Deploy Infrastructure / Deploy on pve3 (push) Failing after 9s
CD - Deploy Infrastructure / Validate K3s Cluster (push) Has been skipped
CD - Deploy Infrastructure / Deployment Notification (push) Failing after 1s
Some checks failed
CD - Deploy Infrastructure / Terraform Validation (push) Successful in 18s
CD - Deploy Infrastructure / Deploy on pve1 (push) Failing after 8s
CD - Deploy Infrastructure / Deploy on pve2 (push) Failing after 8s
CD - Deploy Infrastructure / Deploy on pve3 (push) Failing after 9s
CD - Deploy Infrastructure / Validate K3s Cluster (push) Has been skipped
CD - Deploy Infrastructure / Deployment Notification (push) Failing after 1s
- Add required 'id' argument to network blocks - Change iothread from number (1) to boolean (true) These changes are required for compatibility with provider v3.0.2-rc05.
This commit is contained in:
parent
5a5e844852
commit
bd1df7d89d
3 changed files with 6 additions and 3 deletions
|
|
@ -36,6 +36,7 @@ resource "proxmox_vm_qemu" "k3s_server_1" {
|
|||
onboot = true
|
||||
|
||||
network {
|
||||
id = 0
|
||||
model = "virtio"
|
||||
bridge = var.k3s_network_bridge
|
||||
}
|
||||
|
|
@ -45,7 +46,7 @@ resource "proxmox_vm_qemu" "k3s_server_1" {
|
|||
size = var.k3s_server_1_config.disk_size
|
||||
type = "scsi"
|
||||
storage = var.storage_pool
|
||||
iothread = 1
|
||||
iothread = true
|
||||
}
|
||||
|
||||
ipconfig0 = "ip=${var.k3s_server_1_config.ip},gw=${var.k3s_gateway}"
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ resource "proxmox_vm_qemu" "k3s_server_2" {
|
|||
onboot = true
|
||||
|
||||
network {
|
||||
id = 0
|
||||
model = "virtio"
|
||||
bridge = var.k3s_network_bridge
|
||||
}
|
||||
|
|
@ -45,7 +46,7 @@ resource "proxmox_vm_qemu" "k3s_server_2" {
|
|||
size = var.k3s_server_2_config.disk_size
|
||||
type = "scsi"
|
||||
storage = var.storage_pool
|
||||
iothread = 1
|
||||
iothread = true
|
||||
}
|
||||
|
||||
ipconfig0 = "ip=${var.k3s_server_2_config.ip},gw=${var.k3s_gateway}"
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ resource "proxmox_vm_qemu" "etcd_witness" {
|
|||
onboot = true
|
||||
|
||||
network {
|
||||
id = 0
|
||||
model = "virtio"
|
||||
bridge = var.k3s_network_bridge
|
||||
}
|
||||
|
|
@ -45,7 +46,7 @@ resource "proxmox_vm_qemu" "etcd_witness" {
|
|||
size = var.etcd_witness_config.disk_size
|
||||
type = "scsi"
|
||||
storage = var.storage_pool
|
||||
iothread = 1
|
||||
iothread = true
|
||||
}
|
||||
|
||||
ipconfig0 = "ip=${var.etcd_witness_config.ip},gw=${var.k3s_gateway}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue