Skip to content

Commit

Permalink
fix: update smb cluster name limits
Browse files Browse the repository at this point in the history
  • Loading branch information
assafgi committed Sep 10, 2024
1 parent 66863c4 commit f06a5f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/protocol_gateways/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ variable "smb_cluster_name" {

validation {
condition = length(var.smb_cluster_name) > 0 && length(var.smb_cluster_name) <= 15
error_message = "The SMB cluster name should be less than 15 characters long."
error_message = "The SMB cluster name must be between 1 and 15 characters long."
}
}

Expand Down
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -720,8 +720,8 @@ variable "smb_cluster_name" {
default = "Weka-SMB"

validation {
condition = length(var.smb_cluster_name) > 0
error_message = "The SMB cluster name cannot be empty."
condition = length(var.smb_cluster_name) > 0 && length(var.smb_cluster_name) <= 15
error_message = "The SMB cluster name must be between 1 and 15 characters long."
}
}

Expand Down

0 comments on commit f06a5f1

Please sign in to comment.