Skip to main content
Glama

terraform-cloud-mcp

list_variables_in_variable_set

Retrieve and list all variables within a specified variable set, including their configurations and values, for efficient management using the Terraform Cloud API.

Instructions

List all variables in a variable set.

Retrieves all variables that belong to a specific variable set, including their configuration and values.

API endpoint: GET /varsets/{varset_id}/relationships/vars

Args: varset_id: The ID of the variable set (format: "varset-xxxxxxxx")

Returns: List of variables in the variable set with their configuration

See: docs/tools/variables.md#list-variables-in-variable-set for reference documentation

Input Schema

NameRequiredDescriptionDefault
varset_idYes

Input Schema (JSON Schema)

{ "properties": { "varset_id": { "title": "Varset Id", "type": "string" } }, "required": [ "varset_id" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/severity1/terraform-cloud-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server