تقييمات الطلاب
( 5 من 5 )
١ تقييمات
فيديو شرح Backends and Remote State Terraform Tutorial #17 ضمن كورس Terraform شرح قناة Will Brock، الفديو رقم 18 مجانى معتمد اونلاين
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