Managing Terraform State Files

In this video we dive into Terraform state files. What is a Terraform state file? Why is it so important? Sign up for a free Spacelift account at https://hubs.li/Q01-ldv00 As we walk through planning and applying a new Terraform project we'll show you what role the Terraform state file plays and how to securely manage your Terraform state in a production environment. Get the FREE Terraform State Cheat-Sheet: https://hubs.li/Q01-ldwb0 Terraform state file is a link between your Terraform code and the state of your deployed resources, and it's a vital component of Terraform. Contents: 00:00 Introduction 00:14 What is Terraform state file? 00:42 Initializing new Terraform project 01:55 Working with local Terraform state file 03:50 Why you need to protect your state file 05:54 Using AWS S3 backend to manage your state file 09:32 State locking with AWS DynamoDB and the S3 backend 11:20 Using Spacelift to manage your state file 14:39 Conclusions More information on Spacelift: Website: https://spacelift.io/ Twitter:   / spaceliftio   Linkedin:   / spacelift-io   #Terraform #DevOps #Spacelift