Skip to content

Commit

Permalink
Code review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
brettcurtis committed Nov 2, 2024
1 parent 117234d commit 449fdb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ variable "repository" {
type = string

validation {
condition = can(regex("[a-z0-9-]+$", var.repository))
error_message = "The repository name should contain only lowercase alphanumeric characters or hyphens"
condition = can(regex("^[a-z0-9-]+$", var.repository))
error_message = "The repository name must consist entirely of lowercase alphanumeric characters or hyphens"
}
}

Expand Down

0 comments on commit 449fdb3

Please sign in to comment.