This page is auto-generated based on the official Terraform documentation.

vantage_budget (Resource)

Example Usage

resource "vantage_budget" "demo_budget" {
  name = "Demo Budget"
  cost_report_token = vantage_cost_report.demo_report.token
  periods = [
    {
      start_at = "2023-12-01"
      end_at = "2024-01-01"
      amount = 1000
    }
  ]
}

Schema

Required

  • name (String) The name of the Budget.

Optional

  • child_budget_tokens (List of String) The tokens of any child Budgets when creating a hierarchical Budget.
  • cost_report_token (String) The CostReport token. Ignored for hierarchical Budgets.
  • periods (Attributes List) The periods for the Budget. The start_at and end_at must be iso8601 formatted e.g. YYYY-MM-DD. Ignored for hierarchical Budgets. (see below for nested schema)
  • workspace_token (String) The token of the Workspace to add the Budget to.

Read-Only

  • budget_alert_tokens (List of String) The tokens of the BudgetAlerts associated with the Budget.
  • created_at (String) The date and time, in UTC, the Budget was created. ISO 8601 Formatted.
  • created_by_token (String) The token of the Creator of the Budget.
  • id (String) The id of the budget
  • performance (Attributes List) The historical performance of the Budget. (see below for nested schema)
  • token (String) The token of the budget
  • user_token (String) The token for the User who created this Budget.

Nested Schema for periods

Required:
  • amount (Number) The amount of the period.
  • start_at (String) The start date of the period.
Optional:
  • end_at (String) The end date of the period.

Nested Schema for performance

Read-Only:
  • actual (String) The date and time, in UTC, the Budget was created. ISO 8601 Formatted.
  • amount (String) The amount of the Budget Period as a string to ensure precision.
  • date (String) The date and time, in UTC, the Budget was created. ISO 8601 Formatted.