chode: remote secure postgres connection string
This commit is contained in:
parent
0500fe442f
commit
258fe4ad5a
@ -46,7 +46,7 @@ resource "proxmox_vm_qemu" "docker" {
|
|||||||
cpu = "x86-64-v2-AES"
|
cpu = "x86-64-v2-AES"
|
||||||
bios = "ovmf"
|
bios = "ovmf"
|
||||||
|
|
||||||
startup = "order=2,up=900"
|
startup = "order=2"
|
||||||
|
|
||||||
|
|
||||||
# VM Memory Settings
|
# VM Memory Settings
|
||||||
|
1
omada.tf
1
omada.tf
@ -8,6 +8,7 @@ resource "proxmox_lxc" "omada" {
|
|||||||
ostype = "debian"
|
ostype = "debian"
|
||||||
start = true
|
start = true
|
||||||
startup = "order=1000"
|
startup = "order=1000"
|
||||||
|
onboot = "true"
|
||||||
|
|
||||||
ssh_public_keys = <<EOF
|
ssh_public_keys = <<EOF
|
||||||
${var.ssh_key}
|
${var.ssh_key}
|
||||||
|
@ -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