Skip to content

Commit

Permalink
[terraform][query table widget]Make some fields required
Browse files Browse the repository at this point in the history
  • Loading branch information
hyungl committed Sep 26, 2024
1 parent 87440ff commit a0b7646
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions datadog/resource_datadog_dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
}
}
Expand All @@ -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.",
Expand Down

0 comments on commit a0b7646

Please sign in to comment.