Merge pull request 'fenix-admin' (#214) from fenix-admin into main

Reviewed-on: fenix-gitea-admin/iac-opentofu-private#214
This commit is contained in:
2025-09-07 20:33:14 +00:00
2 changed files with 5 additions and 6 deletions

View File

@ -129,11 +129,10 @@ jobs:
#!/bin/bash
- name: vaultwarden getsecrets
working-directory: infra
working-directory: infra/iac
run: |
bw sync
# Ler o arquivo de referência
for secret in $(jq -c '.secrets[]' iac/secrets/vault-secrets-map.json); do
for secret in $(jq -c '.secrets[]' ../secrets/vault-secrets-map.json); do
name=$(echo "$secret" | jq -r '.name')
type=$(echo "$secret" | jq -r '.type')
output=$(echo "$secret" | jq -r '.output')

View File

@ -3,17 +3,17 @@
{
"name": "iac.opentofu.consul.secrets",
"type": "attachment",
"output": "iac/secrets/consul.secrets.tfvars"
"output": "../secrets/consul.secrets.tfvars"
},
{
"name": "iac.opentofu.proxmox.secrets",
"type": "attachment",
"output": "iac/secrets/proxmox.secrets.tfvars"
"output": "../secrets/proxmox.secrets.tfvars"
},
{
"name": "iac.opentofu.vaultwarden.secrets",
"type": "attachment",
"output": "iac/secrets/vaultwarden.secrets.tfvars"
"output": "../secrets/vaultwarden.secrets.tfvars"
}
]
}