Skip to content

Commit

Permalink
return validate value instead of dynamic value
Browse files Browse the repository at this point in the history
  • Loading branch information
mutahhir committed Jun 19, 2024
1 parent d398fa5 commit 148b19b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 148b19b

Please sign in to comment.