File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
modules/runner-binaries-syncer Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,10 +49,10 @@ variable "s3_logging_bucket_prefix" {
4949 type = string
5050 default = null
5151
52- # Make sure the bucket name only contains legal characters
52+ # Make sure the bucket prefix only contains legal characters
5353 validation {
54- error_message = " Only lowercase alphanumeric characters and hyphens allowed in the bucket name ."
55- condition = var. s3_logging_bucket_prefix == null || can (regex (" ^[a-z0- 9-]*$" , var. s3_logging_bucket_prefix ))
54+ error_message = " Only alphanumeric characters, hyphens followed by single slashes allowed in the bucket prefix ."
55+ condition = var. s3_logging_bucket_prefix == null || can (regex (" ^(( [a-zA-Z0- 9-])+( \\ /?)) *$" , var. s3_logging_bucket_prefix ))
5656 }
5757}
5858
You can’t perform that action at this time.
0 commit comments