Azure

How to Import Azure Resources into Terraform

To import Azure infrastructure into Terraform, scan it with Terraback (terraback scan all azure --subscription-id YOUR_ID) and run terraback azure 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 Azure and generate Terraform

terraback scan all azure --subscription-id YOUR_ID
terraback azure import --method bulk

Azure import guides

Import your whole Azure account in minutes

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