Terraform Cloud icon

Terraform Cloud

Interact with the Terraform Cloud API

Run → Apply Run

AI-generated

Summary

Apply a specific Terraform run identified by its Run ID, optionally including a reason or comment for the action.

Inputs

  • Run ID (required) — The unique identifier of the Terraform run to apply.
  • Reason / Comment — An optional comment or reason for applying the run, which will be included in the API request payload.

Output shape

a single JSON object containing the run ID, the action performed ('apply'), the HTTP status code of the API response, and the detailed response data from Terraform Cloud.

The output is a single record indicating the apply action's result for the specified run. If the optional comment is not provided, a default comment 'Applied from n8n' is sent. Errors are thrown on failure unless 'continue on fail' is set in n8n settings.

Links

Discussion