Skip to content

Commit 2c5d9f1

Browse files
committed
Reduce variable namespace max length to 12
1 parent 9dc06de commit 2c5d9f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ variable "namespace" {
33
description = "Namespace for all resources, usually the organization or project name"
44
type = string
55
validation {
6-
condition = length(var.namespace) <= 18 && can(regex("^[a-z0-9-]+$", var.namespace))
7-
error_message = "Namespace must be lowercase alphanumeric and hyphens only, max 18 characters"
6+
condition = length(var.namespace) <= 12 && can(regex("^[a-z0-9-]+$", var.namespace))
7+
error_message = "Namespace must be lowercase alphanumeric and hyphens only, max 12 characters"
88
}
99
}
1010

0 commit comments

Comments
 (0)