mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-16 16:47:20 +01:00
improvement: Dont set -x in userdata to avoid printing sensitive informations in logs (#1187)
This commit is contained in:
@@ -3,8 +3,8 @@ Content-Type: multipart/mixed; boundary="//"
|
||||
|
||||
--//
|
||||
Content-Type: text/x-shellscript; charset="us-ascii"
|
||||
#!/bin/bash
|
||||
set -xe
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# 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}'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash -xe
|
||||
#!/bin/bash -e
|
||||
|
||||
# Allow user supplied pre userdata code
|
||||
${pre_userdata}
|
||||
|
||||
Reference in New Issue
Block a user