Update provider.go

Signed-off-by: keerthanamsys <149489753+keerthanamsys@users.noreply.github.com>
This commit is contained in:
keerthanamsys 2025-02-20 17:06:38 +05:30 committed by GitHub
parent 949a9a00b8
commit bad8cda07b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -179,7 +179,7 @@ func (p *Provider) decodeStaticFields(eval *StaticEvaluator) hcl.Diagnostics {
return evalContext, diags.Append(evalDiags)
}
forVal, evalDiags := evalchecks.EvaluateForEachExpression(p.ForEach, forEachRefsFunc, nil)
forVal, evalDiags := evalchecks.EvaluateForEachExpression(p.ForEach, forEachRefsFunc)
diags = append(diags, evalDiags.ToHCL()...)
if evalDiags.HasErrors() {
return diags