Compare commits
3 Commits
4afe9eac09
...
fe9eed0a72
Author | SHA1 | Date | |
---|---|---|---|
fe9eed0a72 | |||
d628cbed94 | |||
258fe4ad5a |
@ -2,7 +2,7 @@ resource "null_resource" "cloud_init_deb" {
|
|||||||
connection {
|
connection {
|
||||||
type = "ssh"
|
type = "ssh"
|
||||||
user = "root"
|
user = "root"
|
||||||
private_key = file("~/.ssh/homelab.comprofix.xyz")
|
private_key = file("~/.ssh/pve2.comprofix.xyz")
|
||||||
host = "pve2.comprofix.xyz"
|
host = "pve2.comprofix.xyz"
|
||||||
agent = true
|
agent = true
|
||||||
}
|
}
|
||||||
|
1
omada.tf
1
omada.tf
@ -10,6 +10,7 @@ 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
|
||||||
|
@ -10,9 +10,10 @@ 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user