diff --git a/.terraform-version b/.terraform-version index 845639e..9faa1b7 100644 --- a/.terraform-version +++ b/.terraform-version @@ -1 +1 @@ -0.1.4 +0.1.5 diff --git a/variables.tf b/variables.tf index 730bf0a..6d8961c 100644 --- a/variables.tf +++ b/variables.tf @@ -16,8 +16,8 @@ variable "virtual_desktop_application_group_name" { nullable = false validation { - condition = can(regex("^[a-z0-9-]{3,24}$", var.virtual_desktop_application_group_name)) - error_message = "The name must be between 3 and 24 characters long and can only contain lowercase letters, numbers and dashes." + condition = can(regex("^[a-z0-9-]{3,64}$", var.virtual_desktop_application_group_name)) + error_message = "The name must be between 3 and 64 characters long and can only contain Alphanumerics, underscores, periods, and hyphens. Start with letter or number. End with letter, number, or underscore." } }