package
4.0.0+incompatible
Repository: https://github.com/eitol/terraform-internals.git
Documentation: pkg.go.dev

# Packages

Package blocktoattr includes some helper functions that can perform preprocessing on a HCL body where a configschema.Block schema is available in order to allow list and set attributes defined in the schema to be optionally written by the user as block syntax.
No description provided by the author
No description provided by the author
Package types contains non-standard cty types used only within Terraform.

# Functions

References finds all of the references in the given set of traversals, returning diagnostics if any of the traversals cannot be interpreted as a reference.
ReferencesInBlock is a helper wrapper around References that first searches the given body for traversals, before converting those traversals to references.
ReferencesInExpr is a helper wrapper around References that first searches the given expression for traversals, before converting those traversals to references.

# Structs

Scope is the main type in this package, allowing dynamic evaluation of blocks and expressions based on some contextual information that informs which variables and functions will be available.

# Interfaces

Data is an interface whose implementations can provide cty.Value representations of objects identified by referenceable addresses from the addrs package.