another case of double-applying marks

This commit is contained in:
James Bardin 2021-05-12 11:43:13 -04:00
parent 25cebfbd8b
commit 64f5f2a004
1 changed files with 1 additions and 1 deletions

View File

@ -459,7 +459,7 @@ func (d *evaluationStateData) GetModule(addr addrs.ModuleCall, rng tfdiags.Sourc
continue
}
instance[cfg.Name] = change.After.MarkWithPaths(changeSrc.AfterValMarks)
instance[cfg.Name] = change.After
if change.Sensitive && !change.After.HasMark("sensitive") {
instance[cfg.Name] = change.After.Mark("sensitive")