capabilities.work

Change an IaC workspace variable's value

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

Get something done

Change an IaC workspace variable's value

with Harness
Works with AI assistants

Use Harness: its Harness Variables API lets you change an IaC workspace variable's value in a single step (PUT /iacm/api/orgs/{org}/projects/{project}/workspaces/{workspace}/variables/{kind}/{key}). 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 can I change a variable's value on an existing infrastructure workspace?
  • Can I switch a workspace variable from plain text to secret?
Say it to your AI assistant
  • Set {kind} variable {key} on workspace {workspace} in {org}/{project} to {value} as {value_type}.
  • Update workspace {workspace} {kind} variable {key} to value {value}.
For your developer

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