diff options
author | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
---|---|---|
committer | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
commit | 107c1cdb09c575aa2f61d97f48d8587eb6bada4c (patch) | |
tree | ca7d008643efc555c388baeaf1d986e0b6b3e28c /vendor/github.com/hashicorp/terraform-config-inspect/tfconfig/doc.go | |
parent | 844b5a68d8af4791755b8f0ad293cc99f5959183 (diff) | |
download | terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.gz terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.zst terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.zip |
Upgrade to 0.12
Diffstat (limited to 'vendor/github.com/hashicorp/terraform-config-inspect/tfconfig/doc.go')
-rw-r--r-- | vendor/github.com/hashicorp/terraform-config-inspect/tfconfig/doc.go | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/github.com/hashicorp/terraform-config-inspect/tfconfig/doc.go b/vendor/github.com/hashicorp/terraform-config-inspect/tfconfig/doc.go new file mode 100644 index 0000000..1604a6e --- /dev/null +++ b/vendor/github.com/hashicorp/terraform-config-inspect/tfconfig/doc.go | |||
@@ -0,0 +1,21 @@ | |||
1 | // Package tfconfig is a helper library that does careful, shallow parsing of | ||
2 | // Terraform modules to provide access to high-level metadata while | ||
3 | // remaining broadly compatible with configurations targeting various | ||
4 | // different Terraform versions. | ||
5 | // | ||
6 | // This packge focuses on describing top-level objects only, and in particular | ||
7 | // does not attempt any sort of processing that would require access to plugins. | ||
8 | // Currently it allows callers to extract high-level information about | ||
9 | // variables, outputs, resource blocks, provider dependencies, and Terraform | ||
10 | // Core dependencies. | ||
11 | // | ||
12 | // This package only works at the level of single modules. A full configuration | ||
13 | // is a tree of potentially several modules, some of which may be references | ||
14 | // to remote packages. There are some basic helpers for traversing calls to | ||
15 | // modules at relative local paths, however. | ||
16 | // | ||
17 | // This package employs a "best effort" parsing strategy, producing as complete | ||
18 | // a result as possible even though the input may not be entirely valid. The | ||
19 | // intended use-case is high-level analysis and indexing of externally-facing | ||
20 | // module characteristics, as opposed to validating or even applying the module. | ||
21 | package tfconfig | ||