Terraform Tips & Tricks: loops, if-statements, and more

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

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

  • @AntonPutra
    @AntonPutra  ปีที่แล้ว +2

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

  • @davitgurgenidze9598
    @davitgurgenidze9598 24 วันที่ผ่านมา

    This guy is brilliant, thanks

  • @shulyakav
    @shulyakav ปีที่แล้ว +1

    Thanks!

  • @daiguel5706
    @daiguel5706 9 หลายเดือนก่อน +3

    You answered all my questions in this playlist, you are a beast keep up the good work

    • @AntonPutra
      @AntonPutra  9 หลายเดือนก่อน

      thanks! will do

  • @brunoalexoliveira3842
    @brunoalexoliveira3842 ปีที่แล้ว +3

    Thank you so much. So far the best tips & tricks I’ve seen.

  • @shulyakav
    @shulyakav ปีที่แล้ว +2

    Лучший канал для. исходя из практического применения. Огромное спасибо.

  • @atulwankhade1378
    @atulwankhade1378 4 หลายเดือนก่อน +1

    Just found this channel today and already loving the content... One request can you plz make video on complex TF modules(Enterprise level)?? That's something I'm not able to grasp

    • @AntonPutra
      @AntonPutra  4 หลายเดือนก่อน

      thanks! well i have a few of videos on that topic
      How To Structure Terraform Project (3 Levels) - th-cam.com/video/nMVXs8VnrF4/w-d-xo.html
      terragrant - th-cam.com/video/yduHaOj3XMg/w-d-xo.html

    • @atulwankhade1378
      @atulwankhade1378 4 หลายเดือนก่อน

      @@AntonPutra Thanks that was the next video in playlist :)

  • @dmitriyvergun1087
    @dmitriyvergun1087 ปีที่แล้ว +1

    Amazing work. Appreciate that you publish so much useful and full of practice reference materials. ❤

  • @sombiri9147
    @sombiri9147 ปีที่แล้ว +1

    another nice succinct tutorial Anton

  • @kylediaz
    @kylediaz ปีที่แล้ว +1

    You came in clutch. Today I just found out I'm going to be using terraform at my job but I've literally never heard of it 💀

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

      welcome to the club =)

  • @JohnMitchellCalif
    @JohnMitchellCalif 8 หลายเดือนก่อน +1

    very clear! Subscribed

    • @AntonPutra
      @AntonPutra  8 หลายเดือนก่อน

      cool, thanks!

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

    Thank you for providing all the information I needed in one concise video :-), Im waiting for more videos :D

  • @diegonayalazo
    @diegonayalazo 7 หลายเดือนก่อน +1

    ❤ Thanks Grand Teacher

    • @AntonPutra
      @AntonPutra  7 หลายเดือนก่อน

      🙏

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

    Very nice explanations about Terraform Loops sir. ❤

  • @675FresH
    @675FresH ปีที่แล้ว +1

    Thanks! One more tip, you can set "count = 0" and resources wouldn't be created.

    • @AntonPutra
      @AntonPutra  ปีที่แล้ว +1

      yes, it's covered in conditionals =)

  • @NickInRealLife
    @NickInRealLife ปีที่แล้ว +1

    Hate to be that guy, but do you think you could ever make a video diving deeper into Terraform Best Practices/how Terraform is "realistically" used by a Cloud/Infrastructure/Platform Engineer? I as well as countless others I'm sure see your videos as a bit of a holy grail of detailed, concise, applicable knowledge for aspiring Cloud-oriented engineers, but I really feel your unique experience as a well-established DevOps Engineer in the industry gives you a very unique opportunity to share (as much as you're allowed to) your experiences actually doing these things for a company/client and as well as any practices you've picked up along the way.
    Anyways, that's just my pitch! Thank you for sharing these videos Anton they are invaluable for aspiring Cloud engineers myself and the world alike.

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

      Thanks noneya for the feedback! In reality it's a mess. Half of your environments use one thing another environments don't even use terraform at all =) Real advise from my experience, don't try to use latest features of terraform/clouds, just be consistent. Implement small changes across all environments, it's boring and sometimes can take months.

  • @SergeiKonov-xn5bz
    @SergeiKonov-xn5bz ปีที่แล้ว +1

    Hey Anton. Thanks for the great video! What software are you using for your presentation? Powerpoint?

    • @AntonPutra
      @AntonPutra  ปีที่แล้ว +1

      Thanks! Adobe suite

  • @srinivasreddy7251
    @srinivasreddy7251 10 หลายเดือนก่อน

    Awesome video

  • @rafael.aloizio1769
    @rafael.aloizio1769 ปีที่แล้ว

    I'm just a developer, but I really like your channel, could you someday, record a video including gh ci/cd into the mix? It would be awesome.

    • @AntonPutra
      @AntonPutra  ปีที่แล้ว +1

      Thank you! I already have several videos on GitHub Actions, but I'll definitely create more in the future.

    • @rafael.aloizio1769
      @rafael.aloizio1769 ปีที่แล้ว

      @@AntonPutra Oh I was not aware of it haha it never showed up for me... thanks for letting me know. I'll check them for sure!

  • @ventin75
    @ventin75 9 หลายเดือนก่อน

    what about if ...else if ... else syntax in terraform?

    • @AntonPutra
      @AntonPutra  9 หลายเดือนก่อน +1

      test = "${ condition ? value : (elif-condition ? elif-value : else-value)}"

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

    ❤Yevgeniy Brikman

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

    Huge pain points of using a "made-up declarative language" rather than a "real programming language"

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

      Didn't get that

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

      Seems to me that these "features" are just afterthoughts; they created the language, but then they realized it's too limited for what it's supposed to do, and they're adding these to compensate.
      Compare this with something like Pulumi with "intuitive" language constructs that you can use

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

      @@AntonPutra If you mean you didn't get what I meant, I was comparing this to something like Pulumi, which has "familiar" language constructs for these purposes

    • @AntonPutra
      @AntonPutra  ปีที่แล้ว +1

      @@farzadmf I see, I’m considering ether pulumi or aws cdk for the next tutorial but never used them in prod

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

      @@AntonPutra I have used AWS CDK for prod, but I think Pulumi is better.
      I think (think) they're now using their own things, but they used to (maybe still do) use Terraform's "backend" things. I think it's definitely worth a look.
      Unfortunately, I haven't managed to use it in a "real" environment (company policies everywhere, you know!)

  • @rahulsingh-iq4gd
    @rahulsingh-iq4gd ปีที่แล้ว +3

    I wonder how much time you spend to create this wonderful video+PPT type of TH-cam content 🫡🫡🙌🙌 hat’s off sir…

    • @AntonPutra
      @AntonPutra  ปีที่แล้ว +1

      About a week, but I also have a full-time job.