Compare commits

..

9 Commits

Author SHA1 Message Date
4fb9000f79 chore: update terraform outputs 2026-06-23 22:02:35 +00:00
CC
0d3b95d5ba local-run-ssh 2026-06-23 22:58:26 +01:00
CC
67c0eda7f7 local-run-ssh 2026-06-23 22:54:07 +01:00
CC
1d92ea993c local-run 2026-06-23 22:50:17 +01:00
CC
7779b0935d local-run 2026-06-23 22:44:35 +01:00
CC
c612a45b95 terraform fmt 2026-06-23 22:40:40 +01:00
CC
335e447842 terraform fmt 2026-06-23 22:30:38 +01:00
CC
605e102f25 terraform fmt 2026-06-23 22:29:25 +01:00
CC
41146f5676 terraform fmt 2026-06-23 22:27:17 +01:00
12 changed files with 119 additions and 111 deletions

View File

@@ -3,6 +3,6 @@
"n8n":
"hosts":
"n8n-01":
"ansible_host": "192.168.10.107"
"ansible_host": "192.168.10.106"
"vars":
"ansible_user": "cloud"

View File

@@ -5,6 +5,7 @@ locals {
])
}
resource "proxmox_virtual_environment_file" "cloud_config" {
content_type = "snippets"
datastore_id = "local"
@@ -31,7 +32,7 @@ resource "proxmox_virtual_environment_file" "cloud_config" {
- docker
shell: /bin/bash
ssh-authorized-keys:
- "${var.vm_user_sshkey}" # Inject user's SSH key
- "${var.vm_user_sshkey}" # +++ Needs to be put into a variable injected by git actions secrets
sudo: ALL=(ALL) NOPASSWD:ALL
packages:
@@ -42,6 +43,7 @@ resource "proxmox_virtual_environment_file" "cloud_config" {
- gnupg
- lsb-release
- unattended-upgrades
- rsync
runcmd:
- systemctl enable qemu-guest-agent

View File

@@ -14,8 +14,8 @@ variable "instance_configs" {
vmid = string
}))
default = [
{ crispy_name = "snap", vmid = "9002" },
{ crispy_name = "crackle", vmid = "9000" },
{ crispy_name = "snap", vmid = "902" },
{ crispy_name = "crackle", vmid = "901" },
{ crispy_name = "pop", vmid = "900" }
]
}

View File

@@ -16,7 +16,13 @@ provider "proxmox" {
endpoint = var.pm_api_url
api_token = var.pm_api_token
insecure = true
# === FIX THIS ===
ssh {
agent = true
username = "root"
password = "Ishimaru17"
}
}
provider "aws" {
region = "garage"