loader

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

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

type NullableMap map[string]*bool

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL