func LoadWithOptions(options *Options) (*tfconf.Module, error) {
	tfmodule, err := loadModule(options.Path)
	if err != nil {
		return nil, err
	}
	module, err := loadModuleItems(tfmodule, options)
	if err != nil {
		return nil, err
	}
	sortItems(module, options.SortBy)
	return module, nil
}
// LoadWithOptions returns new instance of Module with all the inputs and
// outputs discovered from provided 'path' containing Terraform config
LoadWithOptions returns new instance of Module with all the inputs and
outputs discovered from provided 'path' containing Terraform config
// LoadWithOptions returns new instance of Module with all the inputs and // outputs discovered from provided ' path ' containing Terraform config
func LoadWithOptions(options *Options) (*tfconf.Module, error) {
	tfmodule, err := loadModule(options.Path)
	if err != nil {
		return nil, err
	}
	module, err := loadModuleItems(tfmodule, options)
	if err != nil {
		return nil, err
	}
	sortItems(module, options.SortBy)
	return module, nil
}
func LoadWithOptions ( options * Options ) ( * tfconf . Module , error ) { tfmodule , err := loadModule ( options . Path ) if err != nil { return nil , err } module , err := loadModuleItems ( tfmodule , options ) if err != nil { return nil , err } sortItems ( module , options . SortBy ) return module , nil }
LoadWithOptions returns new instance of Module with all the inputs and
outputs discovered from provided 'path' containing Terraform config
LoadWithOptions returns new instance of Module with all the inputs and outputs discovered from provided ' path ' containing Terraform config