Terraform dynamic blocks are used to generate nested blocks that can be repeated within an argument. These dynamic blocks represent independent items that are linked to or embedded in the contained entity. Dynamic blocks are similar to the for expression, except they iterate over complicated values.