Sub4Sub network gives free YouTube subscribers
Get Free YouTube Subscribers, Views and Likes

Backends and Remote State | Terraform Tutorial | #17

Follow
Will Brock

With Backends and Remote State all state is stored remotely instead of locally which is the default. This allows terraform to be ran from any machine which could be a CI/CD setup and multiple developers can work on the same infrastructure without overriding any configuration. Some common backends to store state are AWS S3 buckets or Azure storage blobs.

In this video tutorial I'll go over setting up a remote backend in AWS S3 to store all of our state.

Store our state in AWS S3
Running terraform init to initialization our backend
State locking
Storing sensitive information in the backend vs. locally

Course Examples:
https://github.com/WillBrock/terrafor...

Backend Documentation:
https://www.terraform.io/docs/backend...

State:
https://www.terraform.io/docs/state/i...

Remote State:
https://www.terraform.io/docs/state/r...

posted by zavirujuc8