From d2c68a60a9189412b069e4d1be43d0145a792c19 Mon Sep 17 00:00:00 2001 From: "Edwin.Avalos" Date: Tue, 20 Dec 2016 20:20:12 -0600 Subject: [PATCH] Fix bug in terraform.remote kev value lookup terraform.remote isn't valid, you should check in remote for the config section under it --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index d80a411..6f609e0 100644 --- a/main.go +++ b/main.go @@ -96,7 +96,7 @@ func run(c *cli.Context) error { } remote := Remote{} - json.Unmarshal([]byte(c.String("terraform.remote")), &remote) + json.Unmarshal([]byte(c.String("remote")), &remote) var vars map[string]string if c.String("vars") != "" {