You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The validation of the variable after_cluster_joining_userdata expects the length of the array to be smaller than 2, but the definition says that it can contain commands in plural.
variable "after_cluster_joining_userdata" {
type = list(string)
default = []
description = "Additional `bash` commands to execute on each worker node after joining the EKS cluster (after executing the `bootstrap.sh` script). For more info, see https://kubedex.com/90-days-of-aws-eks-in-production"
validation {
condition = (
length(var.after_cluster_joining_userdata) < 2
)
error_message = "You may not specify more than one `after_cluster_joining_userdata`."
}
}
Expected Behavior
The variable to be a string or the validation to allow more than 1 element.
The text was updated successfully, but these errors were encountered:
Describe the Bug
The validation of the variable
after_cluster_joining_userdata
expects the length of the array to be smaller than 2, but the definition says that it can contain commands in plural.Expected Behavior
The variable to be a string or the validation to allow more than 1 element.
The text was updated successfully, but these errors were encountered: