I've created tfimport, a tool to make importing infrastructure into tf managed state a bearable task!
Hello fellow Cloud / Platform / SRE / DevOps / (whatever we are called these days) engineers!
You remember that time when you had to import a ton of resources into Terraform-managed state? I bet you do!
The hunt for those "ClickOpsed" resources, searching for the specific info needed to generate the import ID, jumping into the cloud dashboard to find a single value, or writing clever (but fragile) bash one-liners to sort it all out...
Well, I have good news for you: I've solved that problem!
Oh, Well... not the ClickOps part. That is probably never going away. But as I usually like to do... I built a tool to make the process easier, quicker, and more reliable!
tfimport figures out import IDs by looking directly at your OpenTofu/Terraform plan. When the plan doesn't provide all the right info, it is smart enough to look it up using the cloud provider SDKs!
✅ Supports OpenTofu, Terraform, and Terragrunt.
✅ Supports a large pool of resources across most major cloud providers.
✅ Free and Open Source.
✅ Available as builds/packages for your favorite OS (or just grab the binary!).
Check it out here: https://tfimport.coolapso.sh