generate_aztfexport_resource_group_command
Generates an aztfexport command to export an Azure resource group and all its resources into Terraform configuration, returning it for local execution.
Instructions
Generate an aztfexport command to export an Azure resource group and all its resources 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": {
"resourceGroupName": "<resourceGroupName>"
},
"name": "generate_aztfexport_resource_group_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Perform a dry run without creating files | |
| provider | No | Terraform provider to use | azurerm |
| namePattern | No | Pattern for resource naming in Terraform | |
| parallelism | No | Number of parallel operations | |
| typePattern | No | Pattern for resource type filtering | |
| continueOnError | No | Continue export even if some resources fail | |
| outputFolderName | No | Output folder name (created under workspace root) | |
| resourceGroupName | Yes | Name of the resource group to export | |
| includeRoleAssignment | No | Include role assignments in export |