Debugging and Fixing Terraform State - Watch Me Work

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 2024

ความคิดเห็น • 23

  • @rodbiagtan4250
    @rodbiagtan4250 4 หลายเดือนก่อน +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  3 หลายเดือนก่อน

      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.

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

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

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

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

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

  • @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 th-cam.com/video/mU_0EAHvozs/w-d-xo.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

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

  • @claytonvanderhaar3772
    @claytonvanderhaar3772 ปีที่แล้ว

    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.