Skip to main content
This page is auto-generated based on the official Terraform documentation.

Overview

Use this data source with the Vantage Terraform provider. For installation and authentication, see the Terraform provider quickstart. The schema below is generated directly from the provider source.

page_title: “vantage_folder Data Source - terraform-provider-vantage” subcategory: "" description: |- Looks up a folder by title.

vantage_folder (Data Source)

Looks up a folder by its title. Searches all folders returned by the Get All Folders endpoint and returns the first match. Use workspace_token or parent_folder_token to narrow the search when multiple folders share the same title.

Example Usage

Schema

Required

  • title (String) The title of the folder to find.

Optional

  • workspace_token (String) Filter folders by workspace token. If not specified, the first folder matching the title is returned. Also populated as an output with the workspace token of the matched folder.
  • parent_folder_token (String) Filter folders by parent folder token. Set to an empty string ("") to match only root-level folders (those with no parent). Also populated as an output with the parent folder token of the matched folder.

Read-Only

  • token (String) The unique token of the matched folder.