mirror of
https://github.com/thegeeklab/wp-opentofu.git
synced 2024-11-25 09:40:39 +00:00
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
This commit is contained in:
parent
4197abea8d
commit
04a9dd1ead
2
main.go
2
main.go
@ -96,7 +96,7 @@ func run(c *cli.Context) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
remote := Remote{}
|
remote := Remote{}
|
||||||
json.Unmarshal([]byte(c.String("terraform.remote")), &remote)
|
json.Unmarshal([]byte(c.String("remote")), &remote)
|
||||||
|
|
||||||
var vars map[string]string
|
var vars map[string]string
|
||||||
if c.String("vars") != "" {
|
if c.String("vars") != "" {
|
||||||
|
Loading…
Reference in New Issue
Block a user