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. Manages a Canvas.

Example Usage

data "vantage_workspaces" "demo" {}

resource "vantage_canvas" "demo" {
  title           = "Monthly Cost Overview"
  prompt          = "Show me monthly costs by provider"
  workspace_token = element(data.vantage_workspaces.demo.workspaces, 0).token
}

Schema

Required

  • prompt (String) The prompt used to generate the Canvas.
  • title (String) The title of the Canvas.

Optional

  • workspace_token (String) The token of the Workspace to add the Canvas to. Required if the API token is associated with multiple Workspaces.

Read-Only

  • created_at (String) The date and time, in UTC, the Canvas was created. ISO 8601 Formatted.
  • data (Attributes) The structured table data of the Canvas. (see below for nested schema)
  • id (String) The id of the canvas
  • token (String) The token of the canvas
  • updated_at (String) The date and time, in UTC, the Canvas was last updated. ISO 8601 Formatted.

Nested Schema for data

Read-Only:
  • error (String) Error message if the refresh workflow failed.
  • table (String) JSON-encoded tabular data produced by the Canvas refresh workflow.