diff --git a/examples/simple/variables.tf b/examples/simple/variables.tf index 1f09513..c178434 100644 --- a/examples/simple/variables.tf +++ b/examples/simple/variables.tf @@ -12,7 +12,6 @@ variable "vpc_id" { } } - variable "subnets" { description = "Specify the subnets used by this cluster" type = list(string) diff --git a/variables.tf b/variables.tf index bbc10c6..fbc352b 100644 --- a/variables.tf +++ b/variables.tf @@ -70,10 +70,10 @@ variable "tags" { ( # Allow either production format or test format can(regex("^[\\w\\s+=.@-]*$", k)) && can(regex("^[\\w\\s+=.@-]*$", v)) || - can(regex("^Environment$", k)) && can(regex("^test$", v)) # Special case for test environment + can(regex("^environment$", k)) && can(regex("^test$", v)) # Special case for test environment ) ]) - error_message = "Tag keys must be <= 128 chars, values <= 256 chars, and both can only contain alphanumeric characters, spaces, and '.+-=@_'. For test environment, use 'Environment': 'test'." + error_message = "Tag keys must be <= 128 chars, values <= 256 chars, and both can only contain alphanumeric characters, spaces, and '.+-=@_'. For test environment, use 'environment': 'test'." } }