Terraform for Developers: Dynamic Blocks

preview_player
Показать описание
This episode is another step in our journey for developers new to Terraform where we'll be learning about Dynamic Blocks. This is one of the most difficult language constructs with HCL but once you master it, it is an insanely powerful tool!

Follow me on Twitter for quick code snippets and thoughts on Cloud, Automation and other things!

Keep the knowledge flowing!

HashiCorp Terraform Documentation
Рекомендации по теме
Комментарии
Автор

If there's anything that I can suggest to discuss is the big difference between using List and Map type and how the first one is an ordered list and the second is a key-value map, because understanding that difference maybe a life saver if the person has deployed multiple rgs and in each rg multiple resources, then he decided to change or delete the one in the middle, for the List type this will mean deleting all other rgs after that targeted rg, which will mean a disaster situation in a production env with production data.

nazaral-wattar
Автор

Thanks for your video.

You have defined both dynamic block and regular declaration.
Is that necessary to keep both or you just kept it there for clarity purposes.

paddyland