package
1.12.0-alpha20250213
Repository: https://github.com/hashicorp/terraform.git
Documentation: pkg.go.dev
# Functions
NewEmptySnapshot constructs and returns a snapshot containing only an empty root module.
NewLoader creates and returns a loader that reads configuration from the real OS filesystem.
NewLoaderForTests is a variant of NewLoader that is intended to be more convenient for unit tests.
NewLoaderFromSnapshot creates a Loader that reads files only from the given snapshot.
# Structs
Config is used with NewLoader to specify configuration arguments for the loader.
A Loader instance is the main entry-point for loading configurations via this package.
Snapshot is an in-memory representation of the source files from a configuration, which can be used as an alternative configurations source for a loader with NewLoaderFromSnapshot.
SnapshotModule represents a single module within a Snapshot.