Function tfconfig::load_module
source · pub fn load_module(path: &Path, strict: bool) -> Result<Module, Error>
Expand description
Reads the directory at the given path and attempts to interpret it as a Terraform module.
§Arguments
path
- Path to the directory containing the Terraform configurationstrict
- Whether to immediately return an error if a file in the directory cannot be parsed