Do not show commands being ran if sensitive is true
@ -15,6 +15,7 @@ type terraform struct {
Plan bool `json:"plan"`
Vars map[string]string `json:"vars"`
Cacert string `json:"ca_cert"`
Sensitive bool `json:"sensitive"`
}
type remote struct {
@ -49,7 +50,9 @@ func main() {
c.Dir = workspace.Path
c.Stdout = os.Stdout
c.Stderr = os.Stderr
if !vargs.Sensitive {
trace(c)
err := c.Run()
if err != nil {