Debugging and Fixing Terraform State - Watch Me Work

Поделиться
HTML-код
  • Опубликовано: 3 ноя 2024

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

  • @sebastians3773
    @sebastians3773 3 года назад +4

    You 𝘴𝘩𝘰𝘶𝘭𝘥 feel proud, these videos are incredibly useful to me.
    Thank you for persevering with the cutting process Julie, your editing had improved a lot and the increased Zoom is very helpful.
    I'm trying to transition over to DevOps from Ops and seeing these kinds of videos demystifies things to make that goal feel reachable.

    • @JulieNgTech
      @JulieNgTech  3 года назад

      Thanks Sebastian! I'm happy to hear that the little details with the highlighting live coding is really helpful - because live coding is so much longer, there's much more to highlight 😅 Good to know it's worth it. Thanks and good luck on the transition. It's definitely reachable!

  • @rodbiagtan4250
    @rodbiagtan4250 6 месяцев назад +1

    Hi Julie, thanks for showing this. I've been learning TF for the past few months and good to see how an experienced TF engineer struggles and eventually overcomes an issue. Cool mug btw.

    • @JulieNgTech
      @JulieNgTech  5 месяцев назад

      You're welcome! Thank you for watching this video. Funnily enough I recorded another Terraform state video last week :) I need to re-watch it to see if it's worth releasing since I already have a debugging Terraform state video.

  • @jastalib
    @jastalib 3 года назад +1

    Hi Julie, brilliant video and thoroughly enjoyed it, I was smiling all along thinking, yep that is me, yep yep... but honestly that is soooo good seeing you doing real live stuff. Again thanks and I know it takes a lot of effort.

    • @JulieNgTech
      @JulieNgTech  3 года назад

      Thank you jastalib! I really appreciate it, esp. from others who know how real life engineering can be :) it means I will make these every now and then, even if they take forever to put together. Thanks again!

  • @fourmath6066
    @fourmath6066 3 года назад +1

    this is the DevOps Credo . 4 hours of debugging with pain :D . Great Channel.

    • @JulieNgTech
      @JulieNgTech  3 года назад

      Thanks Rahma for the lovely feedback. I am glad someone also appreciates the real life engineering that is debugging and sometimes banging head against the wall 😂

  • @byersroger5774
    @byersroger5774 3 года назад +2

    Great video! And I like your mug!

    • @JulieNgTech
      @JulieNgTech  3 года назад

      Thanks Byers! I'm glad you enjoyed the video. The mug is pretty awesome, even if I have to hand wash it ;-)

  • @Klainn
    @Klainn 3 года назад +1

    Would you be able to do a video on your terraform project structure? I’m working with terraform for the first time and trying to figure out the best ways to be efficient and write clean code. I see your structure but I can’t quite make out how it all fits together.

    • @JulieNgTech
      @JulieNgTech  3 года назад

      Yes, I will add this to my list of ideas for upcoming videos! Sorry I missed this comment back then. This one should be relatively straight-forwards to make so I'll try to do it in July

  • @jasric89
    @jasric89 3 года назад +1

    Have you done a tutorial on how you set up your different Terraform folder structures and service connection import details? As someone quite new to Terraform this would be useful to know.

    • @JulieNgTech
      @JulieNgTech  3 года назад +1

      Great question Jason! I put it in the AMA that is my last video. There's a walkthrough of my Terraform workflow and structure here ruclips.net/video/mU_0EAHvozs/видео.html&lc=UgxoERtrcHhNZnwOxKF4AaABAg and for service connections, check out how I use key vault integration here github.com/Azure/devops-governance/tree/main/azure-pipelines

  • @tofasneil
    @tofasneil 3 года назад +1

    This was epicly fun exprience for me, same as jastalib I saw very comperable actions of mine. thank you very much making my day more fun. (I know you were suffering sorry)

    • @JulieNgTech
      @JulieNgTech  3 года назад

      hehe, suffering is part of being an experienced engineer. Battle scars :D

  • @rohitradhakrishnan8317
    @rohitradhakrishnan8317 3 года назад +1

    Awesome video Julie. Thank you.

    • @JulieNgTech
      @JulieNgTech  3 года назад +2

      Thanks Rohit! Have you had to repair Terraform state before?

    • @rohitradhakrishnan8317
      @rohitradhakrishnan8317 3 года назад

      Hi @@JulieNgTech . Not yet. Still a novice and learning Terraform from scratch :)

  • @claytonvanderhaar3772
    @claytonvanderhaar3772 2 года назад

    Why does the TF state get corrupted if you upgrade the version and then try to downgrade again??

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

      It doesn't always happen, but it can if you the upgrade results in schema changes to the state file. Reversing that may or may not be possible. That's why it's important to watch how you version your dependencies. Does that make sense?

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

      @@JulieNgTech yes it does it happened in our team and we had a massive issue trying to resolve it

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

      @@claytonvanderhaar3772 to help prevent those types of conflicts, have you checked in your terraform lock file? Also, in your pipelines do you pin to that specific Terraform version? Esp. for provider hosted CI agents, they might be running a version newer than your local one and cause issues.