mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-16 16:47:20 +01:00
11 lines
353 B
Smarty
11 lines
353 B
Smarty
#!/bin/bash -xe
|
|
|
|
# Allow user supplied pre userdata code
|
|
${pre_userdata}
|
|
|
|
# Bootstrap and join the cluster
|
|
/etc/eks/bootstrap.sh --b64-cluster-ca '${cluster_auth_base64}' --apiserver-endpoint '${endpoint}' ${bootstrap_extra_args} --kubelet-extra-args "${kubelet_extra_args}" '${cluster_name}'
|
|
|
|
# Allow user supplied userdata code
|
|
${additional_userdata}
|