Dynamic blocks are used to generate multiple nested blocks inside resource, data, provisioner and provider blocks. Dynamic blocks act like for loops in generating multiple items of a similar nature to reduce repeated code.
In this video tutorial I'll go over creating some common dynamic block use cases in AWS security groups generating multiple ingress blocks.
Dynamic Blocks Docs:
https://www.terraform.io/docs/configu...
Course Examples:
https://github.com/WillBrock/terrafor...
Watch video Dynamic Blocks | Terraform Tutorial | #13 online without registration, duration hours minute second in high quality. This video was added by user Will Brock 29 June 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 36,358 once and liked it 447 people.