terraform/website
Kristin Laemmert 8bab3dd374
command/state list: list resources in nested and expanded modules (#27268)
* command/state list: list resources in nested and expaneded modules

A few distinct bugs fixed in here:

There was a bug in the logic checking if a given module was the child of
the targetAddr, now fixed. That resolved the basic issue where resources
in nested submodules were not listed.

The logic around allowMissing needed some tweaking to allow for empty
modules, as long as those modules had submodules with resources. state
list is the only command using allowMissing with false so this felt safe
to do.

Finally I extended the logic so list would included expanded modules,
which is to say giving module.foo would result in resources from
module.foo[1], module.foo[0], etc.

* update state list docs to show that module filtering includes any nested
modules
2020-12-14 11:07:15 -05:00
..
docs command/state list: list resources in nested and expanded modules (#27268) 2020-12-14 11:07:15 -05:00
guides website: Decommission derelict "guides" section, move some content to "intro" 2020-10-26 18:21:29 -07:00
intro website/intro: remove outdated examples section (#26932) 2020-11-16 14:05:17 -05:00
layouts website: Remove registry docs (adopted into terraform-website) 2020-11-18 11:12:35 -08:00
upgrade-guides website: Fix a stray broken link to 0.8 -> 0.9 backend upgrade doc 2020-12-09 13:28:01 -08: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.