mirror of
https://github.com/hashicorp/terraform.git
synced 2026-02-03 20:50:59 -05:00
use value without deprecations after validating
This commit is contained in:
parent
c965bd7341
commit
fed3ea9e04
1 changed files with 1 additions and 1 deletions
|
|
@ -329,7 +329,7 @@ func (ev *forEachEvaluator) validateResourceOrActionForEach(forEachVal cty.Value
|
|||
}
|
||||
|
||||
// We don't care about the returned value here, only the diagnostics
|
||||
_, deprecationDiags := ev.ctx.Deprecations().Validate(forEachVal, ev.ctx.Path().Module(), ev.expr.Range().Ptr())
|
||||
forEachVal, deprecationDiags := ev.ctx.Deprecations().Validate(forEachVal, ev.ctx.Path().Module(), ev.expr.Range().Ptr())
|
||||
|
||||
diags = diags.Append(deprecationDiags)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue