How to manage Terraform State?
Ғылым және технология
🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
▬▬▬▬▬ Experience & Location 💼 ▬▬▬▬▬
► I’m a Senior Software Engineer at Juniper Networks (12+ years of experience)
► Located in San Francisco Bay Area, CA (US citizen)
▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
► LinkedIn: / anton-putra
► Twitter/X: / antonvputra
► GitHub: github.com/antonputra
► Email: me@antonputra.com
▬▬▬▬▬▬ Related videos 👨🏫 ▬▬▬▬▬▬
👉 [Playlist] Kubernetes Tutorials: • Kubernetes Tutorials
👉 [Playlist] Terraform Tutorials: • Terraform Tutorials fo...
👉 [Playlist] Network Tutorials: • Network Tutorials
👉 [Playlist] Apache Kafka Tutorials: • Apache Kafka Tutorials
👉 [Playlist] Performance Benchmarks: • Performance Benchmarks
👉 [Playlist] Database Tutorials: • Database Tutorials
▬▬▬▬▬▬▬ Timestamps ⏰ ▬▬▬▬▬▬▬
0:00 Intro
0:53 What is Terraform state?
3:47 Terraform remote state backends
18:33 Import/remove existing components from state
23:11 Limitations of Terraform’s Backends
27:30 How to properly isolate Terraform state files?
42:17 terraform_remote_state data source
▬▬▬▬▬▬▬ Source Code 📚 ▬▬▬▬▬▬▬
► GitHub: github.com/antonputra/tutoria...
#terraform #devops #cloud
Пікірлер: 24
🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
Arguably one of the best DevOps channels. Loved the video. Great as always! 👌
@AntonPutra
11 ай бұрын
Thank you!
Thanks! As always, very helpful!
Best ever explanation possible. Thanks a lot for this tutorial
@AntonPutra
Жыл бұрын
Thanks!
very-high quality video, easy to follow and perfect visible
@AntonPutra
Жыл бұрын
Thanks!
Thank you for making this.
@AntonPutra
11 ай бұрын
welcome!
Thanks, Anton, this is an awesome tutorial for Terraform state. May I know after enabling the versioning on the S3 bucket, what's the step to roll back the terraform state utilizing multiple version?
@AntonPutra
Жыл бұрын
Thanks, you can switch versions of the state files in the S3 UI or use cli
If I do changes in userdata script using null resource will that reflect to actual state file ?
❤
@AntonPutra
Ай бұрын
thanks
Any explanation why you used remote state data source instead of just a normal data source. I don’t personally like coupling my state files in this way and usually use data resources that reference the remote object like the VPC.
@AntonPutra
6 ай бұрын
I don't remember the exact context. We typically use a remote state data resource to obtain output variables from other modules or resources. I might have just used it as an example. If you use Terragrunt instead of a remote state, you would reference the module's output variable.
Hey bro, you can do tutorial on Flux2+Vault+external-secrets. thanks so much
@AntonPutra
Жыл бұрын
Flux v2 is coming soon
@user-cw2sh2ng6k
Жыл бұрын
@@AntonPutra Nice bro, Bro can integrate with vault+external-secrets. awesome or any another
Can we have architecture design for this to understand in a better way
@AntonPutra
10 ай бұрын
Thanks for the feedback. In new videos, I start with diagrams.
Can I used same terraform state file to create resources in different regions. Pl answer Thanks in advance. 🙏
@AntonPutra
2 ай бұрын
as far as I remember you can't override region in AWS provider, but you 100% can override GCP projects in each resource