diff --git a/internal/exec/terraform.go b/internal/exec/terraform.go index d6d891060..88fd45b04 100644 --- a/internal/exec/terraform.go +++ b/internal/exec/terraform.go @@ -61,6 +61,15 @@ func ExecuteTerraform(info schema.ConfigAndStacksInfo) error { fmt.Println() return nil } + if info.SubCommand == "version" { + return ExecuteShellCommand(cliConfig, + "terraform", + []string{info.SubCommand}, + "", + nil, + false, + info.RedirectStdErr) + } shouldProcessStacks := true shouldCheckStack := true