plans fix
This commit is contained in:
parent
2490e6c84b
commit
323d9fb69f
|
@ -88,6 +88,11 @@ func (c *Changes) OutputValues(parent addrs.ModuleInstance, module addrs.ModuleC
|
||||||
var res []*OutputChangeSrc
|
var res []*OutputChangeSrc
|
||||||
|
|
||||||
for _, oc := range c.Outputs {
|
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()
|
changeMod, changeCall := oc.Addr.Module.Call()
|
||||||
// this does not reside on our parent instance path
|
// this does not reside on our parent instance path
|
||||||
if !changeMod.Equal(parent) {
|
if !changeMod.Equal(parent) {
|
||||||
|
|
Loading…
Reference in New Issue