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

vantage_cost_report (Resource)

Manages a CostReport.

Example Usage

resource "vantage_cost_report" "demo_report" {
  title               = "Demo Report"
  folder_token        = "fldr_3555785cd0409118"
  filter              = "costs.provider = 'aws'"
  saved_filter_tokens = ["svd_fltr_e844a2ccace05933", "svd_fltr_1b4b80a380ef4ba2"]
  workspace_token = "wrkspc_47c3254c790e9351"

  # optionally, use folder_token instead of workspace_token
  # folder_token = "fldr_47c3254c790e9351"
}

Schema

Required

  • title (String) Title of the Cost Report

Optional

  • chart_type (String) Chart type to apply to the Cost Report.
  • date_bin (String) Date bin to apply to the Cost Report.
  • date_interval (String) Date interval to apply to the Cost Report.
  • end_date (String) End date to apply to the Cost Report.
  • filter (String) Filter query to apply to the Cost Report
  • folder_token (String) Token of the folder this Cost Report resides in.
  • groupings (String) Grouping aggregations applied to the filtered data.
  • previous_period_end_date (String) End date to apply to the Cost Report.
  • previous_period_start_date (String) Start date to apply to the Cost Report.
  • saved_filter_tokens (List of String) Saved filter tokens to be applied to the Cost Report.
  • start_date (String) Start date to apply to the Cost Report.
  • workspace_token (String) Workspace token to add the Cost Report to.

Read-Only

  • id (String) Unique cost report identifier (aliases to token)
  • token (String) Unique cost report identifier