We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c5d9f1 commit 12d47e4Copy full SHA for 12d47e4
variables.tf
@@ -3,8 +3,8 @@ variable "namespace" {
3
description = "Namespace for all resources, usually the organization or project name"
4
type = string
5
validation {
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"
+ condition = length(var.namespace) <= 12 && can(regex("^[a-z][a-z0-9-]+$", var.namespace))
+ error_message = "Namespace must be lowercase alphanumeric and hyphens only, start with a letter, max 12 characters"
8
}
9
10
0 commit comments