Student Reviews
( 5 Of 5 )
1 review
Video of Backends and Remote State Terraform Tutorial #17 in Terraform course by Will Brock channel, video No. 18 free certified online
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/terraform-course-examples
Backend Documentation:
https://www.terraform.io/docs/backends/index.html
State:
https://www.terraform.io/docs/state/index.html
Remote State:
https://www.terraform.io/docs/state/remote.html