mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-14 15:53:59 +01:00
* chore: Move examples that are more like test cases to the new `tests/` directory * chore: Stash * feat: Add better examples for EKS managed node groups * chore: Add better examples for self-managed node groups * chore: Update docs and correct `nodegroup` to `node group`
12 lines
436 B
Smarty
12 lines
436 B
Smarty
#!/bin/bash
|
|
set -ex
|
|
|
|
${pre_bootstrap_user_data ~}
|
|
|
|
# Custom user data template provided for rendering
|
|
B64_CLUSTER_CA=${cluster_auth_base64}
|
|
API_SERVER_URL=${cluster_endpoint}
|
|
/etc/eks/bootstrap.sh ${cluster_name} ${bootstrap_extra_args} --b64-cluster-ca $B64_CLUSTER_CA --apiserver-endpoint $API_SERVER_URL \
|
|
--ip-family ${cluster_ip_family} --service-${cluster_ip_family}-cidr ${cluster_service_cidr}
|
|
${post_bootstrap_user_data ~}
|