opentofu/website
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
..
docs website: Generalized advice on modules with provider configs 2020-07-24 14:37:59 -07:00
guides website: Remove extra copy of "Running Terraform in Automation", update links 2020-02-05 14:58:30 -08:00
intro website: Remove extra copy of "Getting Started", update links 2020-02-05 14:58:30 -08:00
layouts Add recommend os/arch page 2020-07-21 10:05:40 -04:00
upgrade-guides website: v0.13 upgrade guide about "terraform apply" during upgrading 2020-07-14 09:34:17 -07:00
README.md website: A note about where the root parts of the website live now 2017-06-27 14:40:13 -07:00

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.