Skip to content

Commit

Permalink
Adding support for errors that get line wrapped
Browse files Browse the repository at this point in the history
  • Loading branch information
c0sco authored and kmoe committed Nov 27, 2020
1 parent 1bb2098 commit fb3bae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tfexec/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
var (
// The "Required variable not set:" case is for 0.11
missingVarErrRegexp = regexp.MustCompile(`Error: No value for required variable|Error: Required variable not set:`)
missingVarNameRegexp = regexp.MustCompile(`The root module input variable "(.+)" is not set, and has no default|Error: Required variable not set: (.+)`)
missingVarNameRegexp = regexp.MustCompile(`The root module input variable\s"(.+)"\sis\snot\sset,\sand\shas\sno\sdefault|Error: Required variable not set: (.+)`)

usageRegexp = regexp.MustCompile(`Too many command line arguments|^Usage: .*Options:.*|Error: Invalid -\d+ option`)

Expand Down

0 comments on commit fb3bae7

Please sign in to comment.