Skip to content

Commit

Permalink
Do not prevalidate dashboard json if it its value is unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
lootag committed Dec 4, 2024
1 parent 598eb1f commit 4c4d8eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coralogix/resource_coralogix_dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -2947,7 +2947,7 @@ func (c ContentJsonValidator) MarkdownDescription(_ context.Context) string {
}

func (c ContentJsonValidator) ValidateString(_ context.Context, request validator.StringRequest, response *validator.StringResponse) {
if request.ConfigValue.IsNull() {
if request.ConfigValue.IsNull() || request.ConfigValue.IsUnknown() {
return
}

Expand Down

0 comments on commit 4c4d8eb

Please sign in to comment.