terraform/website/docs/configuration
Martin Atkins ef071f3d0e website: Generalized advice on modules with provider configs
As part of documenting the new module for_each capabilities we added a
section noting that shared modules using the legacy pattern of declaring
their own provider configurations would not be compatible with them.

However, that also applies to the new module depends_on and several folks
participating in the beta pointed out that the documentation wasn't
discussing that at all.

In order to generalize the advice, I've moved the old content we had
(since v0.11) recommending against provider configurations in shared
modules out into its own section, now being more explicit that it is
a legacy pattern and not recommended, and then folded the content about
for_each and count, now also including depends_on, into that expanded
section.

As is often the case, that had some knock-on effects on the content on
the rest of this page, so there's some general editing and reorganization
here. In particular, I moved the "Multiple Instances of a Module" section
much further up the page because it's content relevant to users of
shared modules, while the later content on this page is more aimed at
authors of shared modules, including the new section about the legacy
pattern.
2020-07-24 14:37:59 -07:00
..
functions website/docs: document difference in formatting strings with width and precision (#25499) 2020-07-07 14:09:39 -04:00
attr-as-blocks.html.md Minor spelling fixes 2019-06-13 15:36:14 +01:00
backend.html.md website: Configuration Language navigation refactoring 2020-06-18 09:31:52 -07:00
data-sources.html.md depends_on doc updates 2020-05-28 16:17:01 -04:00
expressions.html.md website: Draw better attention to for and for_each patterns 2020-06-01 14:17:47 -07:00
functions.html.md website: Version notes: Add new -> old links to 0.12 language docs (except function pages) 2019-02-01 17:20:54 -08:00
index.html.md website: Fix typo in the configuration language introduction page 2019-05-08 16:31:37 -07:00
locals.html.md website: Update "Local Values" docs to use v0.12 syntax in example 2019-04-18 09:03:34 -07:00
modules.html.md website: Generalized advice on modules with provider configs 2020-07-24 14:37:59 -07:00
outputs.html.md Update outputs.html.md 2019-12-17 07:33:11 -05:00
override.html.md website: Version notes: Add new -> old links to 0.12 language docs (except function pages) 2019-02-01 17:20:54 -08:00
provider-requirements.html.md website: Terraform v0.13 upgrade guide 2020-06-25 09:24:41 -07:00
providers.html.md website: "Provider Requirements" documentation 2020-06-18 09:31:52 -07:00
resources.html.md website: Draw better attention to for and for_each patterns 2020-06-01 14:17:47 -07:00
style.html.md website: Version notes: Add new -> old links to 0.12 language docs (except function pages) 2019-02-01 17:20:54 -08:00
syntax-json.html.md website/docs: provider aliases in the JSON format 2020-05-13 15:52:26 +02:00
syntax.html.md Fix link in syntax docs 2019-10-24 11:57:08 -04:00
terraform-enterprise.html.md Remove links to legacy Terraform Enterprise docs 2019-06-07 13:47:12 -04:00
terraform.html.md website: Configuration Language navigation refactoring 2020-06-18 09:31:52 -07:00
types.html.md Update maps docs to reflect v0.12 colon behavior 2020-04-26 17:52:08 -06:00
variables.html.md configs: Custom variable validation is no longer experimental 2020-05-28 16:07:59 -07:00
version-constraints.html.md website: Configuration Language navigation refactoring 2020-06-18 09:31:52 -07:00