Storing the State in a Remote Backend

Learn how to create a storage bucket to hold and save the state of our cluster.

Creating the AWS S3 bucket

Terraform maintains its internal information about the current state. That allows it to deduce what needs to be done and converge the actual into the desired state defined in *.tf files. Currently, that state is stored locally in the terraform.tfstate file. For now, there shouldn’t be anything exciting in it. Let’s see the definition of terraform.tfstate.

Get hands-on with 1400+ tech skills courses.