Skip to content

Commit

Permalink
Fixed multiple integrations overriding eval context variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
vhadianto committed Oct 18, 2023
1 parent b5ef130 commit ac8da09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parse/mod_parse_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ func (m *ModParseContext) addReferenceValue(resource modconfig.HclResource, valu

parts := strings.Split(key, ".")
if len(parts) == 2 {
variablesForSubType := variablesForType[key]
variablesForSubType := variablesForType[parts[0]]
if variablesForSubType == cty.NilVal {
variablesForSubType = cty.ObjectVal(map[string]cty.Value{})
}
Expand Down

0 comments on commit ac8da09

Please sign in to comment.