Commit Graph

4 Commits

Author SHA1 Message Date
Mitchell Hashimoto
f8ec7dad19 command/import: allow the -config flag to specify a config location 2016-11-09 15:09:13 -08:00
Mitchell Hashimoto
5107c33119 command/import: load configurations and allow empty config dirs
Fixes #7774

This modifies the `import` command to load configuration files from the
pwd. This also augments the configuration loading section for the CLI to
have a new option (default false, same as old behavior) to
allow directories with no Terraform configurations.
For import, we allow directories with no Terraform configurations so
this option is set to true.
2016-11-09 15:08:22 -08:00
Mitchell Hashimoto
d6c059c43e command/import: tests passing 2016-05-11 13:02:34 -07:00
Mitchell Hashimoto
182a8a28c0 command/import more wip 2016-05-11 13:02:33 -07:00