create_terraform_alias
Creates a Terraform alias for a specific project inventory using an auth key, enabling Terraform integration within Semaphore UI.
Instructions
create terraform alias. Availability depends on Semaphore edition, license, and permissions; some Community routes return 404 or empty lists. POST /project/{project_id}/inventory/{inventory_id}/terraform/aliases. Supply API fields in body; JSON-encoded string fields must remain strings.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>",
"inventory_id": "<inventory_id>",
"body": "<body>"
},
"name": "create_terraform_alias"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| project_id | Yes | ||
| inventory_id | Yes |