return validate value instead of dynamic value

pull/34797/head
Mutahhir Hayat 2 years ago
parent d398fa50c6
commit 148b19b0d7

@ -61,7 +61,9 @@ func (v *LocalValueConfig) StackConfig(ctx context.Context) *StackConfig {
// ExprReferenceValue implements Referenceable
func (v *LocalValueConfig) ExprReferenceValue(ctx context.Context, phase EvalPhase) cty.Value {
return cty.DynamicVal
out, _ := v.ValidateValue(ctx, phase)
return out
}
// ValidateValue validates that the value expression is evaluatable and that

Loading…
Cancel
Save