From a0b76460fb30e054f26dcfcddf787f1e6bf6350f Mon Sep 17 00:00:00 2001 From: Hyung Lee Date: Thu, 26 Sep 2024 11:08:31 -0400 Subject: [PATCH] [terraform][query table widget]Make some fields required --- datadog/resource_datadog_dashboard.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/datadog/resource_datadog_dashboard.go b/datadog/resource_datadog_dashboard.go index 4499fe5e4a..57283a1f26 100644 --- a/datadog/resource_datadog_dashboard.go +++ b/datadog/resource_datadog_dashboard.go @@ -4809,12 +4809,12 @@ func getTableWidgetTextFormatMatchSchema() map[string]*schema.Schema { Description: "Match or compare option.", Type: schema.TypeString, ValidateDiagFunc: validators.ValidateEnumValue(datadogV1.NewTableWidgetTextFormatMatchTypeFromValue), - Optional: true, + Required: true, }, "value": { Description: "Table Widget Match String.", Type: schema.TypeString, - Optional: true, + Required: true, }, } } @@ -4823,12 +4823,12 @@ func getTableWidgetTextFormatReplaceSchema() map[string]*schema.Schema { "type": { Description: "Table widget text format replace all type.", Type: schema.TypeString, - Optional: true, + Required: true, }, "with": { Description: "Table Widget Match String.", Type: schema.TypeString, - Optional: true, + Required: true, }, "substring": { Description: "Text that will be replaced.",