Terraform uses a state file to record information on all resources and outputs created as part of a configuration. This video dives into local and remote state, locking, a migration workflow, the use of Terraform cloud as a backend, and other handy tips! Get started with this Terraform guide on state management to go from beginner to pro in no time. :-)
Great video and explanation. Thanks a lot, this helped me to clarify some concepts and fix a problem I had with my state. You just gain another subscriber :)
Very informative video ! Thanks. What is the best way to manage Terraform state files (remote backend) on Azure ? Consider a scenario when team wants to develop terraform templates for 3 environments (Dev, Non-prod, Prod) and want to mantain 3 different state files on Azure cloud. How can this be best achieved?
Heelo sir wahl. Can we secure TF state when run in local automatic keep into gitlab for example so not keep in local ? . If like that is your approach the same like in this video by using remote backend is gitlab server? thx
hai i am getting initialisation error and giving the error as terraform initialised in an empty directory. can u please suggest me how to resolve this.
how to create some resources without deleting previous resources, like first I run terraform it created a resource group "resource-group-009" and 2nd time I run terraform, It should create new resource "resource-group-010", without deleting "resource-group-009"