mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
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
|
||||
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user