> ## 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.

# vantage_recommendation_view (Resource)

> Terraform resource reference for vantage_recommendation_view (Resource). Auto-generated from the vantage-sh/terraform-provider-vantage repository.

<Note>
  This page is auto-generated based on the official [Terraform documentation](https://registry.terraform.io/providers/vantage-sh/vantage/latest/docs).
</Note>

## Overview

Use this resource with the [Vantage Terraform provider](/terraform). For installation and authentication, see the [Terraform provider quickstart](/terraform#quickstart). The schema below is generated directly from the provider source.

## Example Usage

```terraform theme={null}
# 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
