alt_text

How to Sync Terraform State with Existing Azure Infrastructure Using the Terraform Import Command

Introduction If you are reading this post, you probably are in a situation where you have to use Terraform to manage your cloud infrastructure. But there are existing resources, not created using Terraform, that need to be managed by it. I will show you how to sync your Terraform state with existing resources in Azure specifically. However, the steps to achieve this are virtually the same for other cloud providers. ...

April 15, 2021 · 6 min · David Olivas Montero