tf_generate_variables
Generate Terraform variable definitions with validation and descriptions for a module. Provide module name and variable names to get ready-to-use variable blocks.
Instructions
Generate Terraform variable definitions with validation and descriptions
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": {
"module_name": "<module_name>",
"variables": "<variables>"
},
"name": "tf_generate_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| variables | Yes | List of variable names to generate | |
| module_name | Yes | Name of the module | |
| include_defaults | No | Include default values |