terraform/website
Martin Atkins f47c4efb1b website: Dynamic blocks can for_each any collection type
We previously added a hint to both resource for_each and dynamic blocks
about using the "flatten" and "setproduct" situations to construct
suitable collections to repeat over.

However, we used the same text in both places which ended up stating that
dynamic blocks can only accept map or set values, which is a constraint
that applies to resource for_each (because we need to assign a unique
identifier to each instance) and not to dynamic blocks (which don't have
any uniqueness enforced by Terraform Core itself).

To remove that contradiction with the text above which talks about what
is valid here, I've just generalized this to say "collection", because
the primary point of this paragraph is the "one element per desired nested
block" part, not specifically what sort of collections are permitted in
this location. (Text further up describes the supported types.)
2021-03-30 09:43:33 -07:00
..
docs website: Dynamic blocks can for_each any collection type 2021-03-30 09:43:33 -07:00
guides update to match new default branch name (#27909) 2021-02-24 13:36:47 -05:00
intro website: Update links to redirected provider docs pages 2020-12-17 12:23:50 -08:00
layouts lang/funcs: "sensitive" and "nonsensitive" functions 2021-03-16 16:26:22 -07:00
upgrade-guides update to match new default branch name (#27909) 2021-02-24 13:36:47 -05:00
README.md website: A note about where the root parts of the website live now 2017-06-27 14:40:13 -07:00

README.md

Terraform Documentation

This directory contains the portions of the Terraform website that pertain to the core functionality, excluding providers and the overall configuration.

The files in this directory are intended to be used in conjunction with the terraform-website repository, which brings all of the different documentation sources together and contains the scripts for testing and building the site as a whole.