Skip to content

Commit

Permalink
Merge pull request #8 from Crown-Commercial-Service/satisfy-validatio…
Browse files Browse the repository at this point in the history
…n-constraint

Tweak error_message for validation on ElastiCache cluster_id
  • Loading branch information
cmurton-bg authored Nov 7, 2023
2 parents 132fcd7 + 1f7adf2 commit c0ca4e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resource-groups/elasticache-redis/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ variable "cluster_id" {
description = "ID (name) to give"
validation {
condition = can(regex("[a-z0-9\\-]+", var.cluster_id))
error_message = "The cluster_id can only contain lower case a-z, 0-9 and hyphens(-)"
error_message = "The cluster_id can only contain lower case a-z, 0-9 and hyphens(-)."
}
}

Expand Down

0 comments on commit c0ca4e0

Please sign in to comment.