Skip to content

Commit

Permalink
improvement: Dont set -x in userdata to avoid printing sensitive info…
Browse files Browse the repository at this point in the history
…rmations in logs (terraform-aws-modules#1187)
  • Loading branch information
myoung34 authored and ArchiFleKs committed Apr 16, 2021
1 parent b3e2c5b commit a236a10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}'
Expand Down
2 changes: 1 addition & 1 deletion templates/userdata.sh.tpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -xe
#!/bin/bash -e

# Allow user supplied pre userdata code
${pre_userdata}
Expand Down

0 comments on commit a236a10

Please sign in to comment.