From 4c4d8eb87dffe1632a430db91af856ef128ee479 Mon Sep 17 00:00:00 2001 From: Luigi Taglialatela Date: Wed, 4 Dec 2024 12:56:08 +0100 Subject: [PATCH] Do not prevalidate dashboard json if it its value is unknown --- coralogix/resource_coralogix_dashboard.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coralogix/resource_coralogix_dashboard.go b/coralogix/resource_coralogix_dashboard.go index 467190d1..f00a571c 100644 --- a/coralogix/resource_coralogix_dashboard.go +++ b/coralogix/resource_coralogix_dashboard.go @@ -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 }