mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-opentofu-private.git
synced 2025-10-27 15:53:06 +00:00
[deploy-opentofu]
This commit is contained in:
@ -171,9 +171,9 @@ jobs:
|
|||||||
- name: Plan
|
- name: Plan
|
||||||
working-directory: infra/iac
|
working-directory: infra/iac
|
||||||
run: |
|
run: |
|
||||||
# Find all .auto.tfvars in the secrets folder
|
# Find all .tfvars in the secrets folder
|
||||||
VAR_FILES=""
|
VAR_FILES=""
|
||||||
for f in ../secrets/secrets/*.auto.tfvars; do
|
for f in ../secrets/secrets/*.tfvars; do
|
||||||
VAR_FILES="$VAR_FILES -var-file=$f"
|
VAR_FILES="$VAR_FILES -var-file=$f"
|
||||||
done
|
done
|
||||||
tofu plan $VAR_FILES -out=./tfplan | tee ./tfplan.txt
|
tofu plan $VAR_FILES -out=./tfplan | tee ./tfplan.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user