Browse Source

Add a valid action to error message

pull/58/head
Jacob McCann 7 years ago
parent
commit
42a10997d5
  1. 2
      plugin.go

2
plugin.go

@ -91,7 +91,7 @@ func (p Plugin) Exec() error {
commands = append(commands, tfPlan(p.Config, true)) commands = append(commands, tfPlan(p.Config, true))
commands = append(commands, tfDestroy(p.Config)) commands = append(commands, tfDestroy(p.Config))
default: default:
return fmt.Errorf("valid actions are: validate, plan, apply, destroy. You provided %s", action) return fmt.Errorf("valid actions are: validate, plan, apply, plan-destroy, destroy. You provided %s", action)
} }
} }

Loading…
Cancel
Save