Create a variable in a workspace
One step with Terraform. We can help you get access.
Get something done
Create a variable in a workspace
Use Terraform: its HCP Terraform Variables API lets you create a variable in a workspace in a single step (POST /workspaces/{workspace_id}/vars). capabilities.work can help you get signed up and connected.
- How do I add a new variable to a Terraform Cloud workspace?
- Can I create an input variable for a workspace through the API?
Say it to your AI assistant
- Create variable {variable} in workspace {workspace_id}.
- Add a new workspace variable to {workspace_id} with {variable}.
For your developer
POST /workspaces/{workspace_id}/vars in HCP Terraform Variables API. Full spec on APIs.io.