MCPcopy
hub / github.com/hashicorp/hcl / OptCheckForEach

Function OptCheckForEach

ext/dynblock/options.go:19–21  ·  view source on GitHub ↗
(check func(cty.Value, hcl.Expression, *hcl.EvalContext) hcl.Diagnostics)

Source from the content-addressed store, hash-verified

17}
18
19func OptCheckForEach(check func(cty.Value, hcl.Expression, *hcl.EvalContext) hcl.Diagnostics) ExpandOption {
20 return optCheckForEach{check}
21}
22
23// applyExpandOption implements ExpandOption.
24func (o optCheckForEach) applyExpandOption(body *expandBody) {

Callers 1

Calls

no outgoing calls

Tested by 1