Dynamic Blocks in Terraform with Azure

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

КОМЕНТАРІ • 9

  • @johnbarkhimer366
    @johnbarkhimer366 2 роки тому +1

    Thanks Travis! I've searched and searched and could never find a good link or video that explained Dynamic Blocks as clearly as you just did in this video. Your explanation made it very easy to understand. Great work and thank you!

  • @nightwintertooth9502
    @nightwintertooth9502 Рік тому

    I think i am really starting to see what makes terraform so powerful. I discovered it and will never go back to manual resource creation. Its a gane changer.

  • @netdevilzzz
    @netdevilzzz 4 місяці тому

    Great video, thanks

  • @sebastienroux1669
    @sebastienroux1669 2 роки тому

    Thx man, your vids are really neat. Clear, straight to the point, yet precise. Nice work. /clap

  • @mukut5ul
    @mukut5ul Рік тому

    Travis great videos

  • @luckylucker932
    @luckylucker932 Рік тому

    How can I created this dynamic for "source_application_security_group_ids" ??

  • @yashhirulkar909
    @yashhirulkar909 2 роки тому

    Thankyou sir. but if i want to create security rules in another resource i.e using "azurerm_network_security_rule" how can we use dynamic blocks in this case please ?

  • @anandrao3790
    @anandrao3790 Рік тому

    hi Travis, I have seen several udemy videos and nobody is as good as you.. Why dont you do a complete advanced terraform course in udemy... Also why there is a need for dynamic block... I can still use the for each map under the resource "azurerm_network_security_group" example instead of using the dynamic opton right? I was able to do it without using dynamic

    • @manishjain3446
      @manishjain3446 Рік тому

      The for expressions mechanism is for constructing collection values from other collection values within expressions, which you can then assign to individual resource arguments that expect complex values.
      Some resource types also define nested block types, which typically represent separate objects that belong to the containing resource in some way. You can't dynamically generate nested blocks using for expressions, but you can generate nested blocks for a resource dynamically using dynamic blocks.