Skip to content

intutic_workspace_budget Cloud ​

The workspace's daily and monthly LLM spend caps and budget alert threshold (Settings › Billing › Budget Limits). One per workspace; the OWNER or ADMIN role writes it. Destroying the resource leaves the caps as they are.

Example Usage ​

terraform
resource "intutic_workspace_budget" "this" {
  daily_budget_usd    = 150
  monthly_budget_usd  = 3000
  alert_threshold_pct = 80
  monthly_enforcement = "hard"
}

Schema ​

Required ​

  • monthly_budget_usd (Number) Monthly cap in USD (0–1,000,000); 0 is no monthly cap. A UTC calendar month.

Optional ​

  • alert_threshold_pct (Number) Raise a budget alert at this percentage of each cap, and of every key and member budget (1–100).
  • daily_budget_usd (Number) Daily cap in USD (0–100,000); 0 is no daily cap. A UTC day. Omit it to hold the workspace to the $100 default daily cap; removing it from a configuration returns a saved cap to that default.
  • daily_enforcement (String) hard: the proxy refuses a request the rest of the day's cap does not cover, with 429 BUDGET_EXCEEDED. soft: the cap only raises alerts. Defaults to hard.
  • monthly_enforcement (String) hard: the proxy refuses a request the rest of the month's cap does not cover, with 429 BUDGET_EXCEEDED. soft: the cap only raises alerts. Defaults to soft.

Read-Only ​

  • id (String) The workspace id.

Import ​

shell
# Import by workspace id; there is one budget per workspace.
terraform import intutic_workspace_budget.this ws_0123456789abcdef

The circuit breaker for AI agents