Compare commits

..

No commits in common. "fe9eed0a7223cbb860861c4ae47798860317e0c1" and "4afe9eac09ad8be727a7e70f6e0d59c3345e0f61" have entirely different histories.

3 changed files with 2 additions and 4 deletions

View File

@ -2,7 +2,7 @@ resource "null_resource" "cloud_init_deb" {
connection { connection {
type = "ssh" type = "ssh"
user = "root" user = "root"
private_key = file("~/.ssh/pve2.comprofix.xyz") private_key = file("~/.ssh/homelab.comprofix.xyz")
host = "pve2.comprofix.xyz" host = "pve2.comprofix.xyz"
agent = true agent = true
} }

View File

@ -10,7 +10,6 @@ resource "proxmox_lxc" "omada" {
start = true start = true
startup = "order=1000" startup = "order=1000"
ssh_public_keys = <<EOF ssh_public_keys = <<EOF
${var.ssh_key} ${var.ssh_key}
EOF EOF

View File

@ -10,10 +10,9 @@ terraform {
version = "~> 0.1.0" version = "~> 0.1.0"
} }
} }
backend "pg" { backend "pg" {
conn_str = "postgres://${var.tfusername}:${var.tfpassword}@${var.tfurl}"
} }
encryption { encryption {
key_provider "pbkdf2" "mykey" { key_provider "pbkdf2" "mykey" {
passphrase = var.passphrase passphrase = var.passphrase