tf_generate_module
Generate a Terraform module with main, outputs, and provider configuration for specified cloud provider and resource type, giving a ready-to-use infrastructure foundation.
Instructions
Generate a Terraform module with main, outputs, and provider configuration
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>",
"provider": "<provider>",
"resource_type": "<resource_type>"
},
"name": "tf_generate_module"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| provider | Yes | Cloud provider (aws, gcp, azure) | |
| module_name | Yes | Name of the Terraform module | |
| resource_type | Yes | Primary resource type to manage |