add tofu workflow, more space for kasm
Some checks failed
Terraform Apply / terraform (push) Failing after 16s

This commit is contained in:
mafyuh 2024-10-12 20:35:50 +00:00
parent 045ad2ef27
commit d674b1af19
2 changed files with 33 additions and 1 deletions

View file

@ -0,0 +1,32 @@
name: Terraform Apply
on:
push:
paths:
- 'terraform/**'
jobs:
terraform:
runs-on: docker
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Download OpenTofu Installer
run: |
curl --proto '=https' --tlsv1.2 -fsSL https://get.opentofu.org/install-opentofu.sh -o install-opentofu.sh
chmod +x install-opentofu.sh
- name: Inspect and Install OpenTofu
run: ./install-opentofu.sh --install-method deb
- name: Clean up Installer Script
run: rm -f install-opentofu.sh
- name: Initialize OpenTofu
run: opentofu init
working-directory: ./terraform
- name: Apply OpenTofu
run: opentofu apply -auto-approve
working-directory: ./terraform

View file

@ -36,7 +36,7 @@ resource "proxmox_virtual_environment_vm" "Kasm" {
# VM Disk Settings # VM Disk Settings
disk { disk {
datastore_id = "local-lvm" datastore_id = "local-lvm"
size = 100 size = 150
interface = "scsi0" interface = "scsi0"
} }