analyze_state_management
Assess Terraform backend and state strategy, then recommend safer state management patterns tailored to your team size and environments.
Instructions
Assess Terraform backend/state strategy and recommend safer state management patterns.
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": {
"terraformCode": "<terraformCode>"
},
"name": "analyze_state_management"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terraformCode | Yes | Terraform code that includes backend and state-related configuration. | |
| teamSize | No | Number of engineers applying Terraform changes. | |
| environmentCount | No | Number of environments managed by the Terraform estate. | |
| currentBackend | No | State backend in use. Use auto to infer from code. | auto |
| useWorkspaces | No | Whether multiple environments are managed through Terraform workspaces. |