From b831ba3ab6fe527cbd59229a266fa8fcf65ec5a8 Mon Sep 17 00:00:00 2001 From: Paul Hinze Date: Tue, 23 Feb 2016 14:35:30 -0600 Subject: [PATCH] terraform: tweak diffs didn't match output spacing Use four-space indent to catch `
` formatting on GitHub for users
who copy/paste.
---
 terraform/eval_diff.go | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/terraform/eval_diff.go b/terraform/eval_diff.go
index 0645637aa..ea6b124c3 100644
--- a/terraform/eval_diff.go
+++ b/terraform/eval_diff.go
@@ -48,14 +48,15 @@ func (n *EvalCompareDiff) Eval(ctx EvalContext) (interface{}, error) {
 				"Terraform and should be reported as a GitHub Issue.\n"+
 				"\n"+
 				"Please include the following information in your report:\n"+
-				"  Terraform Version: %s\n"+
-				"  Resource ID: %s\n"+
-				"  Mismatch reason: %s\n"+
-				"  Diff One (usually from plan): %#v\n"+
-				"  Diff Two (usually from apply): %#v\n"+
 				"\n"+
-				"Also include as much context as you can about your config, state,\n"+
-				"  and the steps you performed to trigger this error.\n",
+				"    Terraform Version: %s\n"+
+				"    Resource ID: %s\n"+
+				"    Mismatch reason: %s\n"+
+				"    Diff One (usually from plan): %#v\n"+
+				"    Diff Two (usually from apply): %#v\n"+
+				"\n"+
+				"Also include as much context as you can about your config, state, "+
+				"and the steps you performed to trigger this error.\n",
 			n.Info.Id, Version, n.Info.Id, reason, one, two)
 	}