Interact with the Terraform Cloud API from GitHub Actions.
This action is free to use but unsupported! We will not be addressing reported issues.
Name | Type | Description |
---|---|---|
terraform-cloud-api-token |
string | User, team, or organization API token to Terraform Cloud |
method |
string | HTTP method to use in the request (default: GET ) |
path |
string | Terraform API path to request (leading slash required), like /organizations |
body |
string | Request body (doesn't apply to all HTTP methods) |
jq |
string | A jq program to execute over the API's JSON response (default: . , meaning the response is returned verbatim) |
Name | Type | Description |
---|---|---|
json |
string | The JSON output of running the jq input program against the Terraform API response (use fromJSON() in GitHub Actions to parse) |
Released under the MIT license.