Skip to content
VS Code

terraback for VS Code

io.github.bmoldo/terraback

Scan AWS/Azure/GCP and generate Terraform HCL with import blocks, deterministically, for AI agents.

client:VS Code transport:stdio runtime:pypi

Install terraback in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "terraback-license",
      "description": "TERRABACK_LICENSE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "arm-subscription-id",
      "description": "ARM_SUBSCRIPTION_ID",
      "password": true
    }
  ],
  "servers": {
    "terraback": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "terraback"
      ],
      "env": {
        "TERRABACK_LICENSE": "${input:terraback-license}",
        "ARM_SUBSCRIPTION_ID": "${input:arm-subscription-id}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

terraback in other clients