Student Reviews
( 5 Of 5 )
1 review
Video of Dynamic Blocks Terraform Tutorial #13 in Terraform course by Will Brock channel, video No. 14 free certified online
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/configuration/expressions.html#dynamic-blocks
Course Examples:
https://github.com/WillBrock/terraform-course-examples