mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-09-07 09:36:44 +00:00
![Riley Karson](/assets/img/avatar_default.png)
```bash GO111MODULE=on go get github.com/hashicorp/terraform@pluginsdk-v0.12-early7 GO111MODULE=on go mod vendor GO111MODULE=on go mod tidy ```
22 lines
1.2 KiB
Go
22 lines
1.2 KiB
Go
// Package tfconfig is a helper library that does careful, shallow parsing of
|
|
// Terraform modules to provide access to high-level metadata while
|
|
// remaining broadly compatible with configurations targeting various
|
|
// different Terraform versions.
|
|
//
|
|
// This packge focuses on describing top-level objects only, and in particular
|
|
// does not attempt any sort of processing that would require access to plugins.
|
|
// Currently it allows callers to extract high-level information about
|
|
// variables, outputs, resource blocks, provider dependencies, and Terraform
|
|
// Core dependencies.
|
|
//
|
|
// This package only works at the level of single modules. A full configuration
|
|
// is a tree of potentially several modules, some of which may be references
|
|
// to remote packages. There are some basic helpers for traversing calls to
|
|
// modules at relative local paths, however.
|
|
//
|
|
// This package employs a "best effort" parsing strategy, producing as complete
|
|
// a result as possible even though the input may not be entirely valid. The
|
|
// intended use-case is high-level analysis and indexing of externally-facing
|
|
// module characteristics, as opposed to validating or even applying the module.
|
|
package tfconfig
|