fix: billing budget threshold-rule syntax in 01-setupenv.sh

This commit is contained in:
chrischristiansen-glitch 2026-05-23 06:16:39 +02:00
parent db00b2299f
commit bfa018d183

View File

@ -84,9 +84,9 @@ if [[ -z "${EXISTING}" ]]; then
--billing-account="${BILLING_ACCOUNT_ID}" \ --billing-account="${BILLING_ACCOUNT_ID}" \
--display-name="${BUDGET_NAME}" \ --display-name="${BUDGET_NAME}" \
--budget-amount=500USD \ --budget-amount=500USD \
--threshold-rule=percent=0.5,basis=CURRENT_SPEND \ --threshold-rule=percent=0.5 \
--threshold-rule=percent=0.8,basis=CURRENT_SPEND \ --threshold-rule=percent=0.8 \
--threshold-rule=percent=1.0,basis=CURRENT_SPEND --threshold-rule=percent=1.0
echo "✓ Budget alert created" echo "✓ Budget alert created"
else else
echo "✓ Budget alert already exists" echo "✓ Budget alert already exists"