Files
terraform-aws-eks/templates/al2023_user_data.tpl
2024-02-29 19:12:50 -05:00

14 lines
336 B
Smarty

%{ if enable_bootstrap_user_data ~}
---
apiVersion: node.eks.aws/v1alpha1
kind: NodeConfig
spec:
cluster:
name: ${cluster_name}
apiServerEndpoint: ${cluster_endpoint}
certificateAuthority: ${cluster_auth_base64}
%{ if length(cluster_service_ipv4_cidr) > 0 ~}
cidr: ${cluster_service_ipv4_cidr}
%{ endif ~}
%{ endif ~}