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

Optional

  • date_bin (String) Determines how to group costs in the Dashboard.
  • date_interval (String) Determines the date range in the Dashboard. Incompatible with ‘start_date’ and ‘end_date’ parameters.
  • end_date (String) The end date for the date range for costs in the Dashboard. ISO 8601 Formatted. Incompatible with ‘date_interval’ parameter.
  • saved_filter_tokens (List of String) The tokens of the Saved Filters used in the Dashboard.
  • start_date (String) The start date for the date range for costs in the Dashboard. ISO 8601 Formatted. Incompatible with ‘date_interval’ parameter.
  • title (String) The title of the Dashboard.
  • widgets (Attributes List) The widgets to add to the Dashboard. Report-backed widgets use widgetable_token. Free text widgets use widgetable_type set to free_text and require content. (see below for nested schema)
  • workspace_token (String) The token of the Workspace to add the Dashboard to. Required if the API token is associated with multiple Workspaces.

Read-Only

  • created_at (String) The date and time, in UTC, the Dashboard was created. ISO 8601 Formatted.
  • id (String) The id of the dashboard
  • token (String) The token of the dashboard

Nested Schema for widgets

Optional:
  • content (String) JSON-encoded TipTap document for a free text widget. Example: {"type":"doc","content":[...]}
  • settings (Attributes) The display and grid layout settings for the DashboardWidget. (see below for nested schema)
  • title (String) The title of the Widget (defaults to the Resource title, or Free Text for a free text widget).
  • widgetable_token (String) The token of the represented Resource.
  • widgetable_type (String) The widget type. Use free_text for a free text widget.
Read-Only:
  • token (String) The token of the Dashboard Widget.

Nested Schema for widgets.settings

Required:
  • display_type (String)
Optional:
  • grid (Attributes) The widget’s size and position in the dashboard’s 12-column grid. (see below for nested schema)
  • kpi_calculation (String) The aggregation used when display_type is kpi.
  • kpi_type (String) The metric represented when display_type is kpi.
  • kpi_usage_unit (String) The usage unit represented when kpi_type is usage.

Nested Schema for widgets.settings.grid

Required:
  • h (Number) The widget height in grid rows.
  • w (Number) The widget width in grid columns.
  • x (Number) The zero-based horizontal position.
  • y (Number) The zero-based vertical position.