Skip to content

Commit 0fe8f45

Browse files
committedJul 15, 2024
Copy RawSourceAddr for declared modules
1 parent a5e8a18 commit 0fe8f45

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed
 

Diff for: ‎internal/features/modules/state/module_store.go

+6-5
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,12 @@ func (s *ModuleStore) DeclaredModuleCalls(modPath string) (map[string]tfmod.Decl
171171
declared := make(map[string]tfmod.DeclaredModuleCall)
172172
for _, mc := range mod.Meta.ModuleCalls {
173173
declared[mc.LocalName] = tfmod.DeclaredModuleCall{
174-
LocalName: mc.LocalName,
175-
SourceAddr: mc.SourceAddr,
176-
Version: mc.Version,
177-
InputNames: mc.InputNames,
178-
RangePtr: mc.RangePtr,
174+
LocalName: mc.LocalName,
175+
RawSourceAddr: mc.RawSourceAddr,
176+
SourceAddr: mc.SourceAddr,
177+
Version: mc.Version,
178+
InputNames: mc.InputNames,
179+
RangePtr: mc.RangePtr,
179180
}
180181
}
181182

0 commit comments

Comments
 (0)