Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Load ¶
func Load(dir string) (*types.ModuleSnapshot, error)
Load loads a Terraform module from the given directory and returns its snapshot
func LoadWithFilter ¶
func LoadWithFilter(dir string, filter *pathfilter.Filter) (*types.ModuleSnapshot, error)
LoadWithFilter loads a Terraform module with path filtering applied. Note: terraform-config-inspect doesn't support per-file filtering, so this function uses the filter to determine which files' declarations should be included in the snapshot.
Types ¶
type NullableMap ¶
NullableMap maps variable names to their nullable attribute values. A nil value means the attribute was not specified (defaults to true in Terraform 1.1+).
type ValidationMap ¶
type ValidationMap map[string][]types.ValidationBlock
ValidationMap maps variable names to their validation blocks
Click to show internal directories.
Click to hide internal directories.