Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.vantage.sh/llms.txt

Use this file to discover all available pages before exploring further.

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

# Basic recommendation view
resource "vantage_recommendation_view" "production" {
  title           = "Production Recommendations"
  workspace_token = data.vantage_workspaces.main.workspaces[0].token
}

# Recommendation view with provider filter
resource "vantage_recommendation_view" "aws_only" {
  title           = "AWS Recommendations"
  workspace_token = data.vantage_workspaces.main.workspaces[0].token
  provider_ids    = ["aws"]
}

# Recommendation view with multiple filters
resource "vantage_recommendation_view" "filtered" {
  title           = "Filtered Recommendations"
  workspace_token = data.vantage_workspaces.main.workspaces[0].token
  provider_ids    = ["aws", "gcp"]
  regions         = ["us-east-1", "us-west-2"]
  start_date      = "2024-01-01"
  end_date        = "2024-12-31"
}

# Recommendation view with tag filter
resource "vantage_recommendation_view" "tagged" {
  title           = "Production Environment Recommendations"
  workspace_token = data.vantage_workspaces.main.workspaces[0].token
  tag_key         = "environment"
  tag_value       = "production"
}

Schema

Required

  • title (String) The title of the RecommendationView.
  • workspace_token (String) The Workspace to associate the RecommendationView with.

Optional

  • account_ids (List of String) Filter by cloud account identifiers.
  • billing_account_ids (List of String) Filter by billing account identifiers.
  • end_date (String) Filter recommendations created on/before this YYYY-MM-DD date.
  • provider_ids (List of String) Filter by one or more providers (e.g. aws, gcp, azure, kubernetes, datadog).
  • regions (List of String) Filter by region slugs (e.g. us-east-1, eastus, asia-east1).
  • start_date (String) Filter recommendations created on/after this YYYY-MM-DD date.
  • tag_key (String) Filter by tag key (must be used with tag_value).
  • tag_value (String) Filter by tag value (requires tag_key).

Read-Only

  • created_at (String) The date and time, in UTC, the view was created. ISO 8601 Formatted.
  • created_by (String) The token for the Creator of this RecommendationView.
  • id (String) The id of the recommendation view
  • token (String) The token of the recommendation view