mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-22 17:39:05 +01:00
feat!: Removed support for launch configuration and replace count with for_each (#1680)
This commit is contained in:
14
templates/linux_user_data.tpl
Normal file
14
templates/linux_user_data.tpl
Normal file
@@ -0,0 +1,14 @@
|
||||
%{ if enable_bootstrap_user_data ~}
|
||||
#!/bin/bash
|
||||
set -e
|
||||
%{ endif ~}
|
||||
${pre_bootstrap_user_data ~}
|
||||
%{ if length(cluster_service_ipv4_cidr) > 0 ~}
|
||||
export SERVICE_IPV4_CIDR=${cluster_service_ipv4_cidr}
|
||||
%{ endif ~}
|
||||
%{ if enable_bootstrap_user_data ~}
|
||||
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
|
||||
${post_bootstrap_user_data ~}
|
||||
%{ endif ~}
|
||||
Reference in New Issue
Block a user