mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-opentofu-private.git
synced 2025-10-27 15:53:06 +00:00
Merge pull request '[deploy-opentofu]' (#236) from fenix-admin into main
Reviewed-on: fenix-gitea-admin/iac-opentofu-private#236
This commit is contained in:
@ -147,10 +147,10 @@ jobs:
|
|||||||
echo "dir made"
|
echo "dir made"
|
||||||
if [ "$type" == "attachment" ]; then
|
if [ "$type" == "attachment" ]; then
|
||||||
echo "attachment get"
|
echo "attachment get"
|
||||||
bw get attachment "$output" --itemid "$item_id" --output "$output"
|
bw get attachment "$output" --itemid "$item_id" --output "$output" --session "$BW_SESSION"
|
||||||
elif [ "$type" == "note" ]; then
|
elif [ "$type" == "note" ]; then
|
||||||
echo "note get"
|
echo "note get"
|
||||||
bw get item "$name" | jq -r '.notes' > "$output"
|
bw get item "$name" --session "$BW_SESSION" | jq -r '.notes' > "$output"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
@ -177,7 +177,6 @@ jobs:
|
|||||||
for f in ../secrets/secrets/*.tfvars; do
|
for f in ../secrets/secrets/*.tfvars; do
|
||||||
echo "found - $f"
|
echo "found - $f"
|
||||||
VAR_FILES="$VAR_FILES -var-file=$f"
|
VAR_FILES="$VAR_FILES -var-file=$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