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

This page documents the configuration schema for 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

terraform {
  required_providers {
    vantage = {
      source = "vantage-sh/vantage"
    }
  }
}

provider "vantage" {
  # This can also be configured with the `VANTAGE_API_TOKEN` environment variable
  # and this block removed entirely:
  # export VANTAGE_API_TOKEN=an-api-token
  # terraform plan
  api_token = var.api_token
}

resource "vantage_folder" "aws" {
  title = "AWS Costs"
}

resource "vantage_cost_report" "aws" {
  folder_token = vantage_folder.aws.token
  filter       = "costs.provider = 'aws'"
  title        = "AWS Costs"
}

Schema

Optional

  • api_token (String, Sensitive)
  • host (String)
  • timeout (String) The timeout duration for API requests (e.g., ”30s”, “5m”). Defaults to ”30s”.