From 6b765328c231dc9c48d38edada854e5cecf9f161 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 26 Jun 2014 22:13:54 -0700 Subject: [PATCH] command: UI in Apply --- command/apply.go | 1 + 1 file changed, 1 insertion(+) diff --git a/command/apply.go b/command/apply.go index 1ab8188ee..8ecfde398 100644 --- a/command/apply.go +++ b/command/apply.go @@ -86,6 +86,7 @@ func (c *ApplyCommand) Run(args []string) int { return 1 } + c.TFConfig.Hooks = append(c.TFConfig.Hooks, &UiHook{Ui: c.Ui}) tf, err := terraform.New(c.TFConfig) if err != nil { c.Ui.Error(fmt.Sprintf("Error initializing Terraform: %s", err))