From d3df77823ff9ac615bd5bea838b04898d68d8ffa Mon Sep 17 00:00:00 2001 From: Martin Atkins Date: Tue, 11 Sep 2018 10:18:45 -0700 Subject: [PATCH] backend/local: Don't count outputs for choosing diff action symbols We're not yet showing outputs in the rendered diff, so it doesn't make sense to count them for the purpose of deciding which change action symbols to include in the legend. --- backend/local/backend_plan.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/backend/local/backend_plan.go b/backend/local/backend_plan.go index a1a1424fef..629e450ee6 100644 --- a/backend/local/backend_plan.go +++ b/backend/local/backend_plan.go @@ -177,9 +177,6 @@ func (b *Local) renderPlan(plan *plans.Plan, schemas *terraform.Schemas) { for _, change := range plan.Changes.Resources { counts[change.Action]++ } - for _, change := range plan.Changes.RootOutputs { - counts[change.Action]++ - } headerBuf := &bytes.Buffer{} fmt.Fprintf(headerBuf, "\n%s\n", strings.TrimSpace(planHeaderIntro))