terraform/website/source/docs
Mitchell Hashimoto d1b46e99bd Add `terraform state list` command
This introduces the terraform state list command to list the resources
within a state. This is the first of many state management commands to
come into 0.7.

This is the first command of many to come that is considered a
"plumbing" command within Terraform (see "plumbing vs porcelain":
http://git.661346.n2.nabble.com/what-are-plumbing-and-porcelain-td2190639.html).
As such, this PR also introduces a bunch of groundwork to support
plumbing commands.

The main changes:

- Main command output is changed to split "common" and "uncommon"
  commands.

- mitchellh/cli is updated to support nested subcommands, since
  terraform state list is a nested subcommand.

- terraform.StateFilter is introduced as a way in core to filter/search
  the state files. This is very basic currently but I expect to make it
  more advanced as time goes on.

- terraform state list command is introduced to list resources in a
  state. This can take a series of arguments to filter this down.

Known issues, or things that aren't done in this PR on purpose:

- Unit tests for terraform state list are on the way. Unit tests for the
  core changes are all there.
2016-05-10 14:14:47 -04:00
..
commands Add `terraform state list` command 2016-05-10 14:14:47 -04:00
configuration core: Add support for marking outputs as sensitive (#6559) 2016-05-09 15:46:07 -04:00
internals docs: Add a section to Debugging docs about crash logs 2016-03-18 18:10:26 -05:00
modules command: Change module-depth default to -1 2016-01-20 13:58:02 -06:00
plugins Added a cast to "(*schema.Provider)" in the standard TestProvider function 2016-03-06 19:16:34 -03:00
providers [clc] additional server types + docs 2016-05-10 10:36:52 -07:00
provisioners Fixed typos in remote.html.markdown and connection.html.markdown. (#6195) 2016-04-15 23:05:49 +01:00
state Add `terraform state list` command 2016-05-10 14:14:47 -04:00
index.html.markdown Add meta descriptions to all pages 2014-10-21 23:21:56 -04:00