From cc8906a61d6a06cbd956f5b95b07057be1bec816 Mon Sep 17 00:00:00 2001 From: Dirk Avery Date: Fri, 8 Sep 2023 14:52:31 -0400 Subject: [PATCH] datasync/task: regexpr --- internal/service/datasync/task.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/service/datasync/task.go b/internal/service/datasync/task.go index a4d920cd972..a68f55c416d 100644 --- a/internal/service/datasync/task.go +++ b/internal/service/datasync/task.go @@ -207,7 +207,7 @@ func ResourceTask() *schema.Resource { Required: true, ValidateFunc: validation.All( validation.StringLenBetween(1, 256), - validation.StringMatch(regexache.MustCompile(`^[0-9A-Za-z_ *?,|^\/#\s()+-]*$`), + validation.StringMatch(regexache.MustCompile(`^[0-9A-Za-z_\s #()*+,/?^|-]*$`), "Schedule expressions must have the following syntax: rate(\\\\s?(minutes?|hours?|days?)), cron() or at(yyyy-MM-dd'T'HH:mm:ss)."), ), },