Skip to main content
This page is auto-generated based on the official Terraform documentation.

Overview

Use this resource with the Vantage Terraform provider. For installation and authentication, see the Terraform provider quickstart. The schema below is generated directly from the provider source.

Example Usage

Schema

Required

  • budget_tokens (List of String) The tokens of the Budget that has the alert.
  • duration_in_days (String) The number of days from the start or end of the month to trigger the alert if the threshold is reached. Use "" for the full month. This write attribute is a string because the API uses an empty-string sentinel; the vantage_budget_alerts data source returns the API’s nullable integer response.
  • threshold (Number) The threshold amount that must be met for the alert to fire.

Optional

  • period_to_track (String) The period tracked on the alert. Used with duration_in_days to determine the time window of the alert. Defaults to start_of_the_month if not passed. Possible values: start_of_the_month, end_of_the_month.
  • recipient_channels (List of String) The channels receiving the alerts. Requires an integration provider to be connected. At least one recipient list must resolve to a non-empty value when the alert is created.
  • recipient_emails (List of String) The complete list of email addresses that receive the alert, including addresses derived from user_tokens and freeform addresses on verified domains. At least one recipient list must resolve to a non-empty value when the alert is created.
  • user_tokens (List of String) The tokens of organization users that receive the alert. The API also exposes their addresses in recipient_emails; freeform verified-domain addresses appear only in recipient_emails. At least one recipient list must resolve to a non-empty value when the alert is created.
  • workspace_token (String) The token of the Workspace to add the BudgetAlert to. Required if the API token is associated with multiple Workspaces.

Read-Only

  • created_at (String) The date and time, in UTC, the Budget Alert was created. ISO 8601 Formatted.
  • id (String) The id of the budget alert
  • integration_provider (String) The provider used for sending alerts. This must be configured in the console. Possible values are: slack, microsoft_graph.
  • token (String) The token of the budget alert
  • user_token (String) The token for the User who created this BudgetAlert.