From e0d3098d501d84bd1af2138971d0018b2d603f27 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 12 Jul 2014 16:35:59 -0700 Subject: [PATCH] command/plan: better output --- command/plan.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/command/plan.go b/command/plan.go index 605cfd709..e91524dec 100644 --- a/command/plan.go +++ b/command/plan.go @@ -105,7 +105,11 @@ func (c *PlanCommand) Run(args []string) int { } if plan.Diff.Empty() { - c.Ui.Output("No changes. Infrastructure is up-to-date.") + c.Ui.Output( + "No changes. Infrastructure is up-to-date. This means that Terraform\n" + + "could not detect any differences between your configuration and\n" + + "the real physical resources that exist. As a result, Terraform\n" + + "doesn't need to do anything.") return 0 } @@ -123,7 +127,7 @@ func (c *PlanCommand) Run(args []string) int { } if outPath == "" { - c.Ui.Output(strings.TrimSpace(planHeaderNoOutput)+"\n") + c.Ui.Output(strings.TrimSpace(planHeaderNoOutput) + "\n") } else { c.Ui.Output(fmt.Sprintf( strings.TrimSpace(planHeaderYesOutput)+"\n",