--- a/main.go Wed May 27 23:43:00 2020 -0500
+++ b/main.go Thu May 28 00:06:40 2020 -0500
@@ -165,9 +165,6 @@
logging.Setup(*color, *verbose)
@@ -207,6 +204,15 @@
+ runner := determineRunner(command) + if len(*planNames) == 0 { + *planNames = []string{loader.DefaultPlan()} // set the state's variables and validate it
@@ -224,12 +230,6 @@
- runner := determineRunner(command)
- if len(*planNames) == 0 {
- *planNames = []string{loader.DefaultPlan()}
// finally create our runtime
fullEnv := environment.New().Merge(defEnv).MergeSlice(*env)
rt := runtime.NewWithEnvironment(st, fullEnv)