Hello World!

Today I will show you how to store you Terraform state file remotely in an AWS S3 Bucket.

First we need to be comfortable with the State file and what it represents for Terraform.

Whenever you run Terraform Apply Terraform saves the state of the resources changed in a file called the State file that is named terraform.tfstate in your working directory. According to the information stored in the State file Terraform knows what to change or destroy when you use Terraform Apply or Terraform destroy.

By default the state file is store locally, meaning that the state…

Tim Okito

AWS Certified Cloud Practitioner | UMBC Alum

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store