Terraform Import Guides

How to import existing AWS, Azure, and Google Cloud resources into Terraform - with the exact import block and generated HCL for each resource type.

Terraback turns live infrastructure into Terraform: scan an account, and it writes both the resource blocks and the Terraform 1.5+ import blocks. Pick a resource below for a step-by-step guide, or import your whole account at once with terraback scan all followed by terraback <provider> import --method bulk.

AWS

130 guides

Azure

101 guides

Google Cloud

91 guides

Import your whole cloud in one pass

These 322 guides cover the resource types Terraback scans across AWS, Azure, and GCP. Instead of importing one at a time, scan your account and generate Terraform plus import blocks for everything in a single pass.