Actions16
- Workspace Actions
- Run Actions
- Project Actions
- GitHub App Installation Actions
Run → Add Run Comment
AI-generatedSummary
Add a comment to a specific Terraform Cloud run by providing its run ID and the comment text.
Inputs
- Run ID (required) — The identifier of the Terraform Cloud run to which the comment will be added.
- Run Comment — The content of the comment text to attach to the run.
Output shape
a single JSON object containing the response from the Terraform Cloud API indicating success or failure of adding the comment, including the run ID, action performed ('addComment'), HTTP status code, and the full API response body.
The output is a JSON object paired by input item index. The operation requires a valid run ID, and the comment text is sent to Terraform Cloud to be posted to the specified run. Errors are handled and reported back in case of failure.
Examples
Example 1: Add a comment to a run
Set resource to 'Run', operation to 'Add Run Comment', provide the run ID, and enter the comment text