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:
@ -173,9 +173,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
# Find all .tfvars in the secrets folder
|
# Find all .tfvars in the secrets folder
|
||||||
VAR_FILES=""
|
VAR_FILES=""
|
||||||
|
ls -la ../secrets/secrets
|
||||||
for f in ../secrets/secrets/*.tfvars; do
|
for f in ../secrets/secrets/*.tfvars; do
|
||||||
VAR_FILES="$VAR_FILES -var-file=$f"
|
VAR_FILES="$VAR_FILES -var-file=$f"
|
||||||
|
|
||||||
cat $f
|
cat $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