Apply run
Action ID:tools.terraform.apply_run
Apply a planned Terraform Cloud run to execute infrastructure changes.
Reference: https://developer.hashicorp.com/terraform/cloud-docs/api-docs/run
Secrets
Required secrets:terraform: required valuesTERRAFORM_API_TOKEN.
Input fields
Create workspace variable
Action ID:tools.terraform.create_workspace_variable
Create a new variable in a Terraform Cloud workspace.
Reference: https://developer.hashicorp.com/terraform/cloud-docs/api-docs/workspace-variables
Secrets
Required secrets:terraform: required valuesTERRAFORM_API_TOKEN.
Input fields
Whether this is a Terraform variable or environment variable.Default:
"terraform".Allowed values: terraform, env.Get run details
Action ID:tools.terraform.get_run_details
Get details for a specific Terraform Cloud run.
Reference: https://developer.hashicorp.com/terraform/cloud-docs/api-docs/run
Secrets
Required secrets:terraform: required valuesTERRAFORM_API_TOKEN.
Input fields
Get workspace details
Action ID:tools.terraform.get_workspace_details
Get details for a workspace by ID or by organization and workspace name.
Reference: https://developer.hashicorp.com/terraform/cloud-docs/api-docs/workspaces
Secrets
Required secrets:terraform: required valuesTERRAFORM_API_TOKEN.
Input fields
The workspace ID. If provided, organization and workspace_name are ignored.Default:
null.List projects
Action ID:tools.terraform.list_projects
List all projects in a Terraform Cloud organization.
Reference: https://developer.hashicorp.com/terraform/cloud-docs/api-docs/projects
Secrets
Required secrets:terraform: required valuesTERRAFORM_API_TOKEN.
Input fields
List runs
Action ID:tools.terraform.list_runs
List all runs for a Terraform Cloud workspace.
Reference: https://developer.hashicorp.com/terraform/cloud-docs/api-docs/run
Secrets
Required secrets:terraform: required valuesTERRAFORM_API_TOKEN.
Input fields
List workspace variables
Action ID:tools.terraform.list_workspace_variables
List all variables configured for a Terraform Cloud workspace.
Reference: https://developer.hashicorp.com/terraform/cloud-docs/api-docs/workspace-variables
Secrets
Required secrets:terraform: required valuesTERRAFORM_API_TOKEN.
Input fields
List workspaces
Action ID:tools.terraform.list_workspaces
List all workspaces in a Terraform Cloud organization, optionally filtered by project.
Reference: https://developer.hashicorp.com/terraform/cloud-docs/api-docs/workspaces
Secrets
Required secrets:terraform: required valuesTERRAFORM_API_TOKEN.
Input fields
Plan run
Action ID:tools.terraform.plan_run
Create a plan-only run in Terraform Cloud to preview infrastructure changes.
Reference: https://developer.hashicorp.com/terraform/cloud-docs/api-docs/run
Secrets
Required secrets:terraform: required valuesTERRAFORM_API_TOKEN.
Input fields
Refresh state
Action ID:tools.terraform.refresh_state
Create a refresh-only run to update Terraform state with real infrastructure.
Reference: https://developer.hashicorp.com/terraform/cloud-docs/api-docs/run
Secrets
Required secrets:terraform: required valuesTERRAFORM_API_TOKEN.
Input fields
Update workspace variable
Action ID:tools.terraform.update_workspace_variable
Update an existing variable in a Terraform Cloud workspace.
Reference: https://developer.hashicorp.com/terraform/cloud-docs/api-docs/workspace-variables
Secrets
Required secrets:terraform: required valuesTERRAFORM_API_TOKEN.