generate_aztfexport_resource_command
Generates an aztfexport command to export a single Azure resource into Terraform configuration, returning the command for the agent to run locally.
Instructions
Generate an aztfexport command to export a single Azure resource to Terraform configuration. The command is returned for the agent to execute locally.
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": {
"resourceId": "<resourceId>"
},
"name": "generate_aztfexport_resource_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Perform a dry run without creating files | |
| provider | No | Terraform provider to use | azurerm |
| resourceId | Yes | Azure resource ID to export | |
| parallelism | No | Number of parallel operations | |
| resourceName | No | Custom resource name in Terraform | |
| resourceType | No | Custom resource type in Terraform | |
| continueOnError | No | Continue export even if some resources fail | |
| outputFolderName | No | Output folder name (created under workspace root) | |
| includeRoleAssignment | No | Include role assignments in export |