Skip to content

Commit

Permalink
fix: error message in validation rule
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-FFFFFF committed Sep 2, 2024
1 parent 772b601 commit ad4640f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ variable "root_name" {

validation {
condition = can(regex("^[A-Za-z][A-Za-z0-9- ._]{1,34}[A-Za-z0-9]?$", var.root_name))
error_message = "Value must be between 2 to 24 characters long, start with a letter, end with a letter or number, and can only contain space, hyphen, underscore or period characters."
error_message = "Value must be between 2 to 35 characters long, start with a letter, end with a letter or number, and can only contain space, hyphen, underscore or period characters."
}
}

Expand Down

0 comments on commit ad4640f

Please sign in to comment.