cli: fix invalid upper case name on AWS (#2546)

This commit is contained in:
Adrian Stobbe 2023-11-03 10:09:43 +01:00 committed by GitHub
parent d67f1a035f
commit eaec73cca4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 3 deletions

View file

@ -5,6 +5,10 @@ variable "name" {
condition = length(var.name) <= 10
error_message = "The length of the name of the Constellation must be <= 10 characters"
}
validation {
condition = var.name == lower(var.name)
error_message = "The name of the Constellation must be in lowercase"
}
}
variable "node_groups" {