AWS

How to Import AWS Resources into Terraform

To import AWS infrastructure into Terraform, scan it with Terraback (terraback scan all aws --region us-east-1) and run terraback aws import --method bulk. Terraback generates the resource blocks and the Terraform 1.5+ import blocks for every resource it finds. Pick a resource below for a focused guide.

Scan AWS and generate Terraform

terraback scan all aws --region us-east-1
terraback aws import --method bulk

AWS import guides

Import your whole AWS account in minutes

Terraback supports 80+ AWS resource types and emits clean Terraform plus import blocks, running locally with read-only credentials.