From feef3866dfcdc04b4a96aef6c9a6eea4816bfdbc Mon Sep 17 00:00:00 2001 From: Jacob McCann Date: Wed, 14 Feb 2018 10:16:14 -0600 Subject: [PATCH] Remove forcing a call on plan with apply or destroy actions --- plugin.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugin.go b/plugin.go index 1da7b02..ff5c526 100644 --- a/plugin.go +++ b/plugin.go @@ -85,10 +85,8 @@ func (p Plugin) Exec() error { case "plan-destroy": commands = append(commands, tfPlan(p.Config, true)) case "apply": - commands = append(commands, tfPlan(p.Config, false)) commands = append(commands, tfApply(p.Config)) case "destroy": - commands = append(commands, tfPlan(p.Config, true)) commands = append(commands, tfDestroy(p.Config)) default: return fmt.Errorf("valid actions are: validate, plan, apply, plan-destroy, destroy. You provided %s", action)