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
mountain

How to Use Environment Variables on Terraform

Introduction Using environment variables with Terraform is very easy, but if you are a beginner at it then it can be a little bit tricky. Using them as input variables is fairly simple and the documentation, blogs, and other sources I found online were pretty useful. However, implementing environment variables that the Terraform providers have predefined for their configurations is not explicitly detailed in the documentation. I’ll try to explain as simple as I possibly can for anyone to easily understand how to use them. ...

March 23, 2021 · 4 min · David Olivas Montero