The Best Folder Structure for Terraform | Multi-Region and Multi-Environment Terraform Deployment

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

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

  • @cloudninjanu
    @cloudninjanu 10 месяцев назад +2

    Thanks for sharing. I don't really agree on your approach of deployment and structure, but always good to see what others are thinking.

    • @letmetechyou
      @letmetechyou  10 месяцев назад

      Yea no problem it’s just the one of many ways somebody could deploy things without the use of enterprise software like terraform cloud etc.. what’s one way you would recommend

    • @cloudninjanu
      @cloudninjanu 10 месяцев назад +1

      @@letmetechyou I use terraform as well and also create modules to ensure default settings are as my customers and I want. I use native terraform for all variables and deployments, and try and keep each deployment as simple as possible. With your PowerShell scripts and JSON creating it just seems like too many moving parts for my taste. But as said, I like that you share it and it did give me a bit of inspiration to try something new as well.

    • @letmetechyou
      @letmetechyou  10 месяцев назад

      @@cloudninjanu oh ok cool yea I’m always interested in new ways of doing things so always feel free to share. Thanks

  • @silopolis-yt
    @silopolis-yt 10 месяцев назад

    Hi,
    Thanks for sharing this. Helped me wrap my head a bit more around TF code base structuration and furthermore reached me a couple of nice patterns I'll most certainly rob you :)
    Very much like the all map variables and the 'enabled' switch.
    May have to watch that part again to really grasp the reference by name trick...
    If you don't mind, I'd gratefully have a closer look at your code to better grasp all its finesse
    Thanks again and in advance
    Cheers

    • @letmetechyou
      @letmetechyou  10 месяцев назад +1

      hey thanks. i hope it helps you. if you have any questions with the setup let me know. here is the code for it github.com/letmetechyou/terraformv2/tree/Main/terraform-folder-structure

    • @silopolis-yt
      @silopolis-yt 10 месяцев назад

      @@letmetechyou hello :)
      Hope you had a good WE.
      Thanks a lot for the link 🙏 Will get back to you after study...
      Have a nice week
      TY
      J

  • @mobernberger
    @mobernberger 10 месяцев назад

    Hi, great video. Would be great if you could share the script and the code. Thanks Michael

    • @letmetechyou
      @letmetechyou  10 месяцев назад +1

      Yea sure I’ll get that added here shortly

    • @letmetechyou
      @letmetechyou  10 месяцев назад +4

      here are the scripts and example tfvars github.com/letmetechyou/terraformv2/tree/Main/terraform-folder-structure