How to manage Terraform State?

Поділитися
Вставка
  • Опубліковано 25 лис 2024

КОМЕНТАРІ •

  • @AntonPutra
    @AntonPutra  Рік тому +5

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

  • @hoxorious
    @hoxorious Рік тому +6

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

  • @DRAK8N8
    @DRAK8N8 Рік тому +2

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

  • @George-mk7lp
    @George-mk7lp Рік тому +1

    Best ever explanation possible. Thanks a lot for this tutorial

  • @prashlovessamosa
    @prashlovessamosa Рік тому +2

    Thank you for making this.

  • @675FresH
    @675FresH Рік тому +1

    Thanks! As always, very helpful!

  • @JoshWright10
    @JoshWright10 11 місяців тому +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  11 місяців тому

      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.

  • @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
    @Prasekhar106 11 місяців тому

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

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

  • @DuyHenry-t6j
    @DuyHenry-t6j Рік тому +1

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

    • @AntonPutra
      @AntonPutra  Рік тому +2

      Flux v2 is coming soon

    • @DuyHenry-t6j
      @DuyHenry-t6j Рік тому +1

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

  • @ashwindhaka5433
    @ashwindhaka5433 6 місяців тому

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

    • @AntonPutra
      @AntonPutra  6 місяців тому

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

  • @diegonayalazo
    @diegonayalazo 6 місяців тому