chore: update pg connection

This commit is contained in:
2025-09-27 13:34:45 +10:00
parent 3d7a1347a8
commit 6c56a9cc9d
2 changed files with 3 additions and 5 deletions

View File

@@ -10,9 +10,6 @@ jobs:
name: Opentofu Build
runs-on: self-hosted
env:
PG_CONN_STR: ${{ secrets.PG_CONN_STR }}
steps:
- name: Checkout code
uses: actions/checkout@v5
@@ -29,6 +26,7 @@ jobs:
proxmox_api_token_secret = "${{ secrets.PVE_API_TOKEN_SECRET }}"
ssh_key = "${{ secrets.SSH_PRIVATE_KEY }}"
passphrase = "${{ secrets.SSH_PASSPHRASE }}"
PG_CONN_STR = ${{ secrets.PG_CONN_STR }}
EOF
- name: Setup Opentofu

View File

@@ -12,7 +12,7 @@ terraform {
}
backend "pg" {
conn_str = env.PG_CONN_STR
conn_str = var.PG_CONN_STR
}
encryption {
key_provider "pbkdf2" "mykey" {