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"
|
||||
bios = "ovmf"
|
||||
|
||||
startup = "order=2,up=900"
|
||||
startup = "order=2"
|
||||
|
||||
|
||||
# VM Memory Settings
|
||||
|
1
omada.tf
1
omada.tf
@ -8,6 +8,7 @@ resource "proxmox_lxc" "omada" {
|
||||
ostype = "debian"
|
||||
start = true
|
||||
startup = "order=1000"
|
||||
onboot = "true"
|
||||
|
||||
ssh_public_keys = <<EOF
|
||||
${var.ssh_key}
|
||||
|
@ -10,9 +10,10 @@ terraform {
|
||||
version = "~> 0.1.0"
|
||||
}
|
||||
}
|
||||
|
||||
backend "pg" {
|
||||
conn_str = "postgres://${var.tfusername}:${var.tfpassword}@${var.tfurl}"
|
||||
}
|
||||
|
||||
encryption {
|
||||
key_provider "pbkdf2" "mykey" {
|
||||
passphrase = var.passphrase
|
||||
|
Loading…
x
Reference in New Issue
Block a user