From 42a10997d589c8ff665a902c7a9dbd78fbf55c4a Mon Sep 17 00:00:00 2001 From: Jacob McCann Date: Wed, 14 Feb 2018 09:59:18 -0600 Subject: [PATCH] Add a valid action to error message --- plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.go b/plugin.go index 5699203..1da7b02 100644 --- a/plugin.go +++ b/plugin.go @@ -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) } }