mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-18 01:27:55 +01:00
* Add Windows support * Assign eks:kube-proxy-windows group to worker nodes * Add Instructions for adding Windows Workers at FAQ.md * Remove unnecessary variables from userdata_windows.tpl * Update CHANGELOG.md
12 lines
434 B
Smarty
12 lines
434 B
Smarty
<powershell>
|
|
${pre_userdata}
|
|
|
|
[string]$EKSBinDir = "$env:ProgramFiles\Amazon\EKS"
|
|
[string]$EKSBootstrapScriptName = 'Start-EKSBootstrap.ps1'
|
|
[string]$EKSBootstrapScriptFile = "$EKSBinDir\$EKSBootstrapScriptName"
|
|
& $EKSBootstrapScriptFile -EKSClusterName ${cluster_name} -KubeletExtraArgs '${kubelet_extra_args}' 3>&1 4>&1 5>&1 6>&1
|
|
$LastError = if ($?) { 0 } else { $Error[0].Exception.HResult }
|
|
|
|
${additional_userdata}
|
|
</powershell>
|