We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a19929f commit 6522317Copy full SHA for 6522317
modules/runner-binaries-syncer/variables.tf
@@ -17,8 +17,13 @@ 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
variable "lambda_schedule_expression" {
28
description = "Scheduler expression for action runner binary syncer."
29
0 commit comments