From 04a9dd1eadbdbcb4ba64485f696d8c29185373d3 Mon Sep 17 00:00:00 2001 From: edwinavalos Date: Wed, 21 Dec 2016 07:08:55 -0600 Subject: [PATCH] Fix bug in terraform.remote kev value lookup (#31) 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") != "" {