We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b9ba90 commit c2c39eeCopy full SHA for c2c39ee
modules/runner-binaries-syncer/variables.tf
@@ -17,6 +17,12 @@ variable "environment" {
17
variable "distribution_bucket_name" {
18
description = "Bucket for storing the action runner distribution."
19
type = string
20
+
21
+ # Make sure the bucket name only contains legal characters
22
+ validation {
23
+ error_message = "Only lowercase alphanumeric characters and hyphens allowed in the bucket name."
24
+ condition = can(regex("^[-a-z0-9]+", var.distribution_bucket_name))
25
+ }
26
}
27
28
variable "lambda_schedule_expression" {
0 commit comments