You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`kql_custom_indicator` (Block List, Max: 1) (see [below for nested schema](#nestedblock--kql_custom_indicator))
249
249
-`metric_custom_indicator` (Block List, Max: 1) (see [below for nested schema](#nestedblock--metric_custom_indicator))
250
250
-`settings` (Block List, Max: 1) The default settings should be sufficient for most users, but if needed, these properties can be overwritten. (see [below for nested schema](#nestedblock--settings))
251
-
-`slo_id` (String) An ID (8 and 36 characters). If omitted, a UUIDv1 will be generated server-side.
251
+
-`slo_id` (String) An ID (8 to 48 characters) that contains only letters, numbers, hyphens, and underscores. If omitted, a UUIDv1 will be generated server-side.
252
252
-`space_id` (String) An identifier for the space. If space_id is not provided, the default space is used.
253
253
-`tags` (List of String) The tags for the SLO.
254
254
-`timeslice_metric_indicator` (Block List, Max: 1) Defines a timeslice metric indicator for SLO. (see [below for nested schema](#nestedblock--timeslice_metric_indicator))
Description: "An ID (8 and 36 characters). If omitted, a UUIDv1 will be generated server-side.",
85
+
Description: "An ID (8 to 48 characters) that contains only letters, numbers, hyphens, and underscores. If omitted, a UUIDv1 will be generated server-side.",
85
86
Type: schema.TypeString,
86
87
Optional: true,
87
88
Computed: true,
88
89
ForceNew: true,
90
+
ValidateFunc: validation.All(
91
+
validation.StringLenBetween(8, 48),
92
+
validation.StringMatch(regexp.MustCompile(`^[a-zA-Z0-9_-]+$`), "must contain only letters, numbers, hyphens, and underscores"),
0 commit comments