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.
This commit is contained in:
parent
db9718faef
commit
5390fb1eed
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue