terraform/website/docs
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
..
backends website: Fix a random typo in azurerm backend 2020-11-18 10:47:52 -08:00
cli Fix apt install typo (#27074) 2020-12-03 10:23:14 -04:00
commands command/state list: list resources in nested and expanded modules (#27268) 2020-12-14 11:07:15 -05:00
configuration add implied data depends_on caveat 2020-12-11 13:42:09 -05:00
configuration-0-11 website: Update all links to {expressions,modules,resources}.html 2020-11-17 16:30:51 -08:00
import website: Update all Learn crosslinks (#26442) 2020-10-02 11:02:59 -07:00
internals website: Fix inconsistencies in the registry protocol page 2020-11-16 10:06:27 -08:00
modules website: Fix link to external documentation "Git URLs" 2020-12-03 13:24:56 -08:00
plugins website: Fix several broken links (#27091) 2020-12-03 13:54:38 -04:00
providers website: Document alternatives to terraform_remote_state 2020-11-17 09:41:54 -08:00
provisioners Fix docs for 0.15 for vendor provisioners 2020-12-08 16:51:50 -05:00
state Merge pull request #26723 from hashicorp/oct20_language_and_cli_docs 2020-11-11 19:31:05 -08:00
cli-index.html.md website: Add new "glue"/overview pages for CLI and language docs 2020-11-11 19:13:23 -08:00