fix(terraform): Update disk and CPU syntax for provider v3.0.2-rc05
Some checks failed
CD - Deploy Infrastructure / Terraform Validation (push) Failing after 7s
CD - Deploy Infrastructure / Deploy on pve1 (push) Has been skipped
CD - Deploy Infrastructure / Deploy on pve2 (push) Has been skipped
CD - Deploy Infrastructure / Deploy on pve3 (push) Has been skipped
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) Failing after 7s
CD - Deploy Infrastructure / Deploy on pve1 (push) Has been skipped
CD - Deploy Infrastructure / Deploy on pve2 (push) Has been skipped
CD - Deploy Infrastructure / Deploy on pve3 (push) Has been skipped
CD - Deploy Infrastructure / Validate K3s Cluster (push) Has been skipped
CD - Deploy Infrastructure / Deployment Notification (push) Failing after 1s
- Change disk slot from number (0) to string ("scsi0")
- Change disk type from "scsi" to "disk"
- Move cores and sockets into cpu {} block
These changes are required for Proxmox provider v3.0.2-rc05.
This commit is contained in:
parent
bd1df7d89d
commit
72d95934b2
3 changed files with 21 additions and 12 deletions
|
|
@ -26,8 +26,11 @@ resource "proxmox_vm_qemu" "k3s_server_1" {
|
|||
target_node = "pve1"
|
||||
clone = var.ubuntu_template
|
||||
|
||||
cpu {
|
||||
cores = var.k3s_server_1_config.cores
|
||||
sockets = 1
|
||||
}
|
||||
|
||||
memory = var.k3s_server_1_config.memory
|
||||
agent = 1
|
||||
|
||||
|
|
@ -42,9 +45,9 @@ resource "proxmox_vm_qemu" "k3s_server_1" {
|
|||
}
|
||||
|
||||
disk {
|
||||
slot = 0
|
||||
slot = "scsi0"
|
||||
size = var.k3s_server_1_config.disk_size
|
||||
type = "scsi"
|
||||
type = "disk"
|
||||
storage = var.storage_pool
|
||||
iothread = true
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,8 +26,11 @@ resource "proxmox_vm_qemu" "k3s_server_2" {
|
|||
target_node = "pve2"
|
||||
clone = var.ubuntu_template
|
||||
|
||||
cpu {
|
||||
cores = var.k3s_server_2_config.cores
|
||||
sockets = 1
|
||||
}
|
||||
|
||||
memory = var.k3s_server_2_config.memory
|
||||
agent = 1
|
||||
|
||||
|
|
@ -42,9 +45,9 @@ resource "proxmox_vm_qemu" "k3s_server_2" {
|
|||
}
|
||||
|
||||
disk {
|
||||
slot = 0
|
||||
slot = "scsi0"
|
||||
size = var.k3s_server_2_config.disk_size
|
||||
type = "scsi"
|
||||
type = "disk"
|
||||
storage = var.storage_pool
|
||||
iothread = true
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,8 +26,11 @@ resource "proxmox_vm_qemu" "etcd_witness" {
|
|||
target_node = "pve3"
|
||||
clone = var.ubuntu_template
|
||||
|
||||
cpu {
|
||||
cores = var.etcd_witness_config.cores
|
||||
sockets = 1
|
||||
}
|
||||
|
||||
memory = var.etcd_witness_config.memory
|
||||
agent = 1
|
||||
|
||||
|
|
@ -42,9 +45,9 @@ resource "proxmox_vm_qemu" "etcd_witness" {
|
|||
}
|
||||
|
||||
disk {
|
||||
slot = 0
|
||||
slot = "scsi0"
|
||||
size = var.etcd_witness_config.disk_size
|
||||
type = "scsi"
|
||||
type = "disk"
|
||||
storage = var.storage_pool
|
||||
iothread = true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue