SSM agent now preinstalled in EKS AMI causes error with user data script
fitchtech opened this issue · 1 comments
fitchtech commented
Now that the EKS optimized AMI has the SSM agent preinstalled this would throw an error. Cause bash set -ex is used the script exits on error before the bootstrap script runs. Therefore the nodes will not join the EKS cluster
knizami commented
Hello, thanks for presenting this issue. In cases where the AMI ID provided already has SSM installed you can customize the launch template accordingly. Instead of installing you may choose to update the SSM agent or to completely remove this part of the script.