terraform/config
Martin Atkins 399542a168 core: allow outputs to have descriptions (#9722)
We allow variables to have descriptions specified, as additional context
for a module user as to what should be provided for a given variable.

We previously lacked a similar mechanism for outputs. Since they too are
part of a module's public interface, it makes sense to be able to add
descriptions for these for symmetry's sake.

This change makes a "description" attribute valid within an "output"
configuration block and stores it within the configuration data structure,
but doesn't yet do anything further with it. For now this is useful only
for third-party tools that might parse a module's config to generate
user documentation; later we could expose the descriptions as part of
the "apply" output, but that is left for a separate change.
2016-11-18 19:09:43 +02:00
..
module config/module: tree.Child on a nil tree works 2016-10-19 13:38:49 -07:00
test-fixtures core: allow outputs to have descriptions (#9722) 2016-11-18 19:09:43 +02:00
append.go config: allow atlas block 2015-03-24 13:30:22 -07:00
append_test.go removed extra parentheses 2015-10-08 15:48:04 +03:00
config.go core: allow outputs to have descriptions (#9722) 2016-11-18 19:09:43 +02:00
config_string.go config: parse depends_on for outputs 2016-11-11 17:46:34 -08:00
config_test.go core: allow outputs to have descriptions (#9722) 2016-11-18 19:09:43 +02:00
config_tree.go config: make Merge an exported func 2014-07-18 17:05:22 -07:00
import_tree.go Condense switch fallthroughs into expr lists 2015-05-26 21:52:36 -04:00
interpolate.go config: use ast.TypeUnknown and don't remove computed values 2016-11-09 14:28:15 -08:00
interpolate_funcs.go config: formatlist accepts an empty list 2016-11-01 22:57:11 -07:00
interpolate_funcs_test.go config: formatlist accepts an empty list 2016-11-01 22:57:11 -07:00
interpolate_test.go config: use ast.TypeUnknown and don't remove computed values 2016-11-09 14:28:15 -08:00
interpolate_walk.go config: maintain slice index accounting for computed keys 2016-11-14 18:33:29 -08:00
interpolate_walk_test.go config: use ast.TypeUnknown and don't remove computed values 2016-11-09 14:28:15 -08:00
lang.go remove config/lang, use hashicorp/hil 2016-02-03 13:24:04 -05:00
loader.go command/import: load configurations and allow empty config dirs 2016-11-09 15:08:22 -08:00
loader_hcl.go Merge pull request #10080 from hashicorp/f-tf-version 2016-11-14 11:53:30 -08:00
loader_hcl_test.go config: HCL loader 2014-08-11 09:58:53 -07:00
loader_test.go Merge pull request #10080 from hashicorp/f-tf-version 2016-11-14 11:53:30 -08:00
merge.go config: allow atlas block 2015-03-24 13:30:22 -07:00
merge_test.go removed extra parentheses 2015-10-08 15:48:04 +03:00
raw_config.go config: use ast.TypeUnknown and don't remove computed values 2016-11-09 14:28:15 -08:00
raw_config_test.go config: maintain slice index accounting for computed keys 2016-11-14 18:33:29 -08:00
resource_mode.go config: "ResourceMode" concept for resources 2016-05-14 08:26:35 -07:00
resource_mode_string.go config: "ResourceMode" concept for resources 2016-05-14 08:26:35 -07:00
testing.go terraform: rename attach config to only attach provider config 2016-10-19 13:38:51 -07:00