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

  • @AntonPutra
    @AntonPutra Жыл бұрын

    🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com

  • @hoxorious
    @hoxorious11 ай бұрын

    Arguably one of the best DevOps channels. Loved the video. Great as always! 👌

  • @AntonPutra

    @AntonPutra

    11 ай бұрын

    Thank you!

  • @675FresH
    @675FresH Жыл бұрын

    Thanks! As always, very helpful!

  • @George-mk7lp
    @George-mk7lp Жыл бұрын

    Best ever explanation possible. Thanks a lot for this tutorial

  • @AntonPutra

    @AntonPutra

    Жыл бұрын

    Thanks!

  • @DRAK8N8
    @DRAK8N8 Жыл бұрын

    very-high quality video, easy to follow and perfect visible

  • @AntonPutra

    @AntonPutra

    Жыл бұрын

    Thanks!

  • @prashlovessamosa
    @prashlovessamosa11 ай бұрын

    Thank you for making this.

  • @AntonPutra

    @AntonPutra

    11 ай бұрын

    welcome!

  • @yvettelau9143
    @yvettelau9143 Жыл бұрын

    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

    @AntonPutra

    Жыл бұрын

    Thanks, you can switch versions of the state files in the S3 UI or use cli

  • @Prasekhar106
    @Prasekhar1066 ай бұрын

    If I do changes in userdata script using null resource will that reflect to actual state file ?

  • @diegonayalazo
    @diegonayalazoАй бұрын

  • @AntonPutra

    @AntonPutra

    Ай бұрын

    thanks

  • @JoshWright10
    @JoshWright106 ай бұрын

    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

    @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.

  • @user-cw2sh2ng6k
    @user-cw2sh2ng6k Жыл бұрын

    Hey bro, you can do tutorial on Flux2+Vault+external-secrets. thanks so much

  • @AntonPutra

    @AntonPutra

    Жыл бұрын

    Flux v2 is coming soon

  • @user-cw2sh2ng6k

    @user-cw2sh2ng6k

    Жыл бұрын

    @@AntonPutra Nice bro, Bro can integrate with vault+external-secrets. awesome or any another

  • @Sandeepv3259
    @Sandeepv325910 ай бұрын

    Can we have architecture design for this to understand in a better way

  • @AntonPutra

    @AntonPutra

    10 ай бұрын

    Thanks for the feedback. In new videos, I start with diagrams.

  • @ashwindhaka5433
    @ashwindhaka54332 ай бұрын

    Can I used same terraform state file to create resources in different regions. Pl answer Thanks in advance. 🙏

  • @AntonPutra

    @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

Келесі