Terraform · Arazzo Workflow
Terraform Upsert a Workspace Variable
Version 1.0.0
Set a workspace variable to a value whether or not it already exists.
View Spec
View on GitHub
Infrastructure as CodeCloud InfrastructureDevOpsOpen-SourceHashiCorpArazzoWorkflows
Provider
Workflows
upsert-workspace-variable
Create or update a single workspace variable by key.
Lists the workspace variables, matches on the supplied key, updates the matched variable when one exists, otherwise creates it, and re-reads the list to confirm.
1
listVariables
List every variable on the workspace so the target key can be matched against what is already configured.
2
updateVariable
Patch the existing variable with the new value. Only the supplied attributes change; the variable's category and identity are preserved.
3
createVariable
Create the variable on the workspace when no variable with the target key was found.
4
confirmVariables
Read the workspace variable list back to confirm the upsert landed and the workspace holds exactly one variable with the target key.
Source API Descriptions
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.