capabilities.work

Add a variable to an IaC workspace

One step with Harness. We can help you get access.

Get something done

Add a variable to an IaC workspace

with Harness
Works with AI assistants

Use Harness: its Harness Variables API lets you add a variable to an IaC workspace in a single step (POST /iacm/api/orgs/{org}/projects/{project}/workspaces/{workspace}/variables). Harness also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • How do I add a Terraform variable to an infrastructure workspace?
  • Can a workspace variable be an environment variable instead of a Terraform input?
Say it to your AI assistant
  • Add {kind} variable {key} = {value} of type {value_type} to workspace {workspace} in {org}/{project}.
  • Create workspace variable {key} with value {value} ({value_type}, {kind}) on {workspace}.
For your developer

POST /iacm/api/orgs/{org}/projects/{project}/workspaces/{workspace}/variables in Harness Variables API. Full spec on APIs.io.