From 8fc134caa14b868e8902c3da55a4dc690933940b Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 11 Oct 2014 17:37:28 -0700 Subject: [PATCH] command/destroy: don't show outputs --- command/apply.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/apply.go b/command/apply.go index 1474bc2eae..7ddc53002e 100644 --- a/command/apply.go +++ b/command/apply.go @@ -254,7 +254,7 @@ func (c *ApplyCommand) Run(args []string) int { // If we have outputs, then output those at the end. var outputs map[string]string - if state != nil { + if !c.Destroy && state != nil { outputs = state.RootModule().Outputs } if len(outputs) > 0 {