From 323d9fb69fe14b7a35fcbe3a37d995a4c79b1fbb Mon Sep 17 00:00:00 2001 From: James Bardin Date: Mon, 13 Apr 2020 16:21:09 -0400 Subject: [PATCH] plans fix --- plans/changes.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plans/changes.go b/plans/changes.go index 1350181ff8..d7c86e6c23 100644 --- a/plans/changes.go +++ b/plans/changes.go @@ -88,6 +88,11 @@ func (c *Changes) OutputValues(parent addrs.ModuleInstance, module addrs.ModuleC var res []*OutputChangeSrc for _, oc := range c.Outputs { + // we can't evaluate root module outputs + if oc.Addr.Module.Equal(addrs.RootModuleInstance) { + continue + } + changeMod, changeCall := oc.Addr.Module.Call() // this does not reside on our parent instance path if !changeMod.Equal(parent) {