chore: update pg connection
This commit is contained in:
6
.github/workflows/infra-build.yml
vendored
6
.github/workflows/infra-build.yml
vendored
@@ -9,10 +9,7 @@ jobs:
|
||||
opentofu:
|
||||
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
|
||||
|
@@ -12,7 +12,7 @@ terraform {
|
||||
}
|
||||
|
||||
backend "pg" {
|
||||
conn_str = env.PG_CONN_STR
|
||||
conn_str = var.PG_CONN_STR
|
||||
}
|
||||
encryption {
|
||||
key_provider "pbkdf2" "mykey" {
|
||||
|
Reference in New Issue
Block a user