chore: format terraform configuration
All checks were successful
Terraform Plan / Terraform Plan (push) Successful in 17s
All checks were successful
Terraform Plan / Terraform Plan (push) Successful in 17s
This commit is contained in:
@@ -17,14 +17,14 @@ provider "proxmox" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
resource "proxmox_vm_qemu" "control_planes" {
|
resource "proxmox_vm_qemu" "control_planes" {
|
||||||
count = var.control_plane_count
|
count = var.control_plane_count
|
||||||
name = "cp-${count.index + 1}"
|
name = "cp-${count.index + 1}"
|
||||||
vmid = var.control_plane_vmid_start + count.index
|
vmid = var.control_plane_vmid_start + count.index
|
||||||
target_node = var.target_node
|
target_node = var.target_node
|
||||||
clone = var.clone_template
|
clone = var.clone_template
|
||||||
full_clone = true
|
full_clone = true
|
||||||
os_type = "cloud-init"
|
os_type = "cloud-init"
|
||||||
agent = 1
|
agent = 1
|
||||||
automatic_reboot = false
|
automatic_reboot = false
|
||||||
|
|
||||||
cpu {
|
cpu {
|
||||||
@@ -68,14 +68,14 @@ resource "proxmox_vm_qemu" "control_planes" {
|
|||||||
|
|
||||||
|
|
||||||
resource "proxmox_vm_qemu" "workers" {
|
resource "proxmox_vm_qemu" "workers" {
|
||||||
count = var.worker_count
|
count = var.worker_count
|
||||||
name = "wk-${count.index + 1}"
|
name = "wk-${count.index + 1}"
|
||||||
vmid = var.worker_vmid_start + count.index
|
vmid = var.worker_vmid_start + count.index
|
||||||
target_node = var.target_node
|
target_node = var.target_node
|
||||||
clone = var.clone_template
|
clone = var.clone_template
|
||||||
full_clone = true
|
full_clone = true
|
||||||
os_type = "cloud-init"
|
os_type = "cloud-init"
|
||||||
agent = 1
|
agent = 1
|
||||||
automatic_reboot = false
|
automatic_reboot = false
|
||||||
|
|
||||||
cpu {
|
cpu {
|
||||||
|
|||||||
Reference in New Issue
Block a user