Compare commits

...

3 Commits

Author SHA1 Message Date
dcec6c3648 Merge pull request 'stage' (#5) from stage into master
All checks were successful
Gitea Actions Demo / Terraform Apply (push) Successful in 4m24s
Reviewed-on: #5
2025-04-17 12:46:36 +00:00
MichaelFisher1997
ffdaa8e387 terraform apply
All checks were successful
Gitea Actions Demo / Terraform Plan (push) Successful in 26s
2025-04-17 13:44:59 +01:00
MichaelFisher1997
2a6faeaed0 terraform apply
Some checks failed
Gitea Actions Demo / Terraform Plan (push) Failing after 27s
2025-04-17 13:43:23 +01:00

View File

@ -17,7 +17,6 @@ provider "proxmox" {
resource "proxmox_vm_qemu" "alpacas" {
count = var.alpaca_count
vmid = 500 + count.index + 1
os_type = "cloud-init"
name = "alpaca-${count.index + 1}"
target_node = var.target_node
clone = var.clone_template
@ -25,7 +24,7 @@ resource "proxmox_vm_qemu" "alpacas" {
cores = var.cores
memory = var.memory
scsihw = "virtio-scsi-pci"
agent = 0
agent = 1
boot = "order=scsi0"
disk {
@ -40,12 +39,17 @@ resource "proxmox_vm_qemu" "alpacas" {
model = "virtio"
bridge = var.bridge
}
ipconfig0 = "ip=dhcp"
ciuser = "alpine"
cipassword = var.proxmox_password
cicustom = "user=local:snippets/cloudinit-user.yaml"
}
resource "proxmox_vm_qemu" "llamas" {
count = var.llama_count
vmid = 600 + count.index + 1
os_type = "cloud-init"
name = "llama-${count.index + 1}"
target_node = var.target_node
clone = var.clone_template
@ -53,7 +57,7 @@ resource "proxmox_vm_qemu" "llamas" {
cores = var.cores
memory = var.memory
scsihw = "virtio-scsi-pci"
agent = 0
agent = 1
boot = "order=scsi0"
disk {
@ -68,6 +72,10 @@ resource "proxmox_vm_qemu" "llamas" {
model = "virtio"
bridge = var.bridge
}
ipconfig0 = "ip=dhcp"
ciuser = "alpine"
cipassword = var.proxmox_password
cicustom = "user=local:snippets/cloudinit-user.yaml"
}