Это видео недоступно.
Сожалеем об этом.

How to manage Terraform State?

Поделиться
HTML-код
  • Опубликовано: 15 авг 2024
  • 🔴 - 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/ant...
    ► 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/ant...
    #terraform #devops #cloud

Комментарии • 24

  • @AntonPutra
    @AntonPutra  Год назад +5

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

  • @hoxorious
    @hoxorious Год назад +5

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

  • @George-mk7lp
    @George-mk7lp Год назад +1

    Best ever explanation possible. Thanks a lot for this tutorial

  • @prashlovessamosa
    @prashlovessamosa Год назад +2

    Thank you for making this.

  • @DRAK8N8
    @DRAK8N8 Год назад +1

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

  • @675FresH
    @675FresH Год назад +1

    Thanks! As always, very helpful!

  • @JoshWright10
    @JoshWright10 8 месяцев назад +1

    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  8 месяцев назад

      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.

  • @diegonayalazo
    @diegonayalazo 2 месяца назад

  • @Prasekhar106
    @Prasekhar106 8 месяцев назад

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

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

  • @user-cw2sh2ng6k
    @user-cw2sh2ng6k Год назад +1

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

    • @AntonPutra
      @AntonPutra  Год назад +2

      Flux v2 is coming soon

    • @user-cw2sh2ng6k
      @user-cw2sh2ng6k Год назад +1

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

  • @Saalar3259
    @Saalar3259 Год назад +1

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

    • @AntonPutra
      @AntonPutra  Год назад

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

  • @ashwindhaka5433
    @ashwindhaka5433 3 месяца назад

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

    • @AntonPutra
      @AntonPutra  3 месяца назад

      as far as I remember you can't override region in AWS provider, but you 100% can override GCP projects in each resource