[deploy-opentofu]

This commit is contained in:
2025-09-07 23:15:36 +00:00
parent 40007ba35f
commit c5d5cf2a10

View File

@ -147,10 +147,10 @@ jobs:
echo "dir made"
if [ "$type" == "attachment" ]; then
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
echo "note get"
bw get item "$name" | jq -r '.notes' > "$output"
bw get item "$name" --session "$BW_SESSION" | jq -r '.notes' > "$output"
fi
done
@ -177,7 +177,6 @@ jobs:
for f in ../secrets/secrets/*.tfvars; do
echo "found - $f"
VAR_FILES="$VAR_FILES -var-file=$f"
cat "$f"
done
tofu plan $VAR_FILES -out=./tfplan | tee ./tfplan.txt