Closed jchanam closed 1 year ago
@jchanam Sorry if this is confusing, but it follows the pattern that optional data is provided in a list of zero or one items. The userdata can be a multi-line string:
after_cluster_joining_userdata = [<<-EOT
# After joining the cluster, execute a couple of commands
echo foo
echo bar
EOT
]
Closing due to no response after recommending a solution.
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.