mirror of
https://github.com/thegeeklab/wp-opentofu.git
synced 2024-11-21 14:20:40 +00:00
Add a valid action to error message
This commit is contained in:
parent
3e6f75540f
commit
42a10997d5
@ -91,7 +91,7 @@ func (p Plugin) Exec() error {
|
||||
commands = append(commands, tfPlan(p.Config, true))
|
||||
commands = append(commands, tfDestroy(p.Config))
|
||||
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…
Reference in New Issue
Block a user