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:
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user