This month (September 2020), I’ve agreed to present my “Infrastructure-as-Code (IaC) using Terraform” 3-part series to several User Groups. The Beginner Edition covers the basics of the Terraform language itself, and compares it with Azure Resource Manager (ARM). The Intermediate Edition covers topics including alternative/non-default provider, collection types, loops and conditionals, resource lifecycle, along with modules, data sources, and remote state.

It’s this last topic, state, that has some unique scenarios. One of the User Groups requested that I include some additional information about working with Terraform state.

And so, I modified my Intermediate Edition presentation to include in the demo, 2 key scenarios working with Terraform state.

Scenario 1: You already have an existing resource created using Terraform. But, you realize that someone has made a change outside of Terraform, and you want to update the State file.

Scenario 2: You already have some pre-existing infrastructure. However, you want to bring it under Terraform management (ie. import it into the State file).

Because the existing recording of the Intermediate Edition did not include this content, I created a separate presentation recording specifically on Exploring Terraform State. I hope you find it helpful/useful.

You can find the recording of Terraform – Exploring State, along with my other presentation recordings on my YouTube channel here: https://www.youtube.com/c/adinermie. If you have any thoughts, suggestions, or request for content, feel free to reach out.