When I specify multiple items in the before_cluster_joining_userdata list, I get an error on plan:
│ You may not specify more than one `before_cluster_joining_userdata`.
There's actually a test here which limits this list to one item!!
variable "before_cluster_joining_userdata" {
type = list(string)
default = []
description = "Additional `bash` commands to execute on each worker node before joining the EKS cluster (before executing the `bootstrap.sh` script). For more info, see https://kubedex.com/90-days-of-aws-eks-in-production"
validation {
condition = (
length(var.before_cluster_joining_userdata) < 2
)
error_message = "You may not specify more than one `before_cluster_joining_userdata`."
}
}
Can we support a list, or update the documentation on this and after_cluster_joining_userdata?
Expected Behavior
The docs say:
before_cluster_joining_userdata list(string)
Description: Additional bash commands to execute on each worker node before joining the EKS cluster (before executing > the bootstrap.sh script). For more info, see https://kubedex.com/90-days-of-aws-eks-in-production
Default: []
Describe the Bug
When I specify multiple items in the before_cluster_joining_userdata list, I get an error on plan:
There's actually a test here which limits this list to one item!!
Can we support a list, or update the documentation on this and after_cluster_joining_userdata?
Expected Behavior
The docs say:
Steps to Reproduce