-
-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EKS Node Launch Template support #24
Comments
Seems like this might be dependent on the version bump PR: #25 |
FWIW, I'd gladly help write the PR, can someone point me in the right direction for the testing workflow used? ie. what commands to run, etc? |
I'm going to push to get this knocked out today and would appreciate another set of eyes & testing when the new PR ready. I'll post it here once it's ready. Stay tuned! |
Hey there @dotCipher , I have a first draft of this prepped that allows you to...
Beyond that, there is one snag I ran into w/ the instance types -- a launch template won't accept a list of instance types, which the module is currently accepting. The Anyhow, I need to sort through that bit before I can push another PR and I may not have it ready until tomorrow. But definitely let me know your thoughts on the above in the meantime! |
Hey there @dotCipher , feel free to check out #27 |
Awesome, thanks @danjbh! I posted some questions on the PR |
Hey @dotCipher , just a friendly warning here -- I found some issues w/ the latest version of the module after merging that PR. I would hold off on using the module until I can get things fixed. |
Thanks for the heads-up @danjbh, I'll keep a look out for your fix |
Out of curiosity, what were the issues you found? |
I didn't realize that if we don't specify our own custom AMI, that it actually appends it's own bootstrap.sh script in userdata AFTER the userdata script that we supply. So it was effectively trying to run bootstrap.sh twice, which was... undesirable :) |
Does the AMI get set to custom version if the userdata is set? Would I be able to use the module as-is now if I am not using a custom AMI? |
Nope, we can set our userdata without specifying a custom AMI, so you should be able to install your SSM agent using |
Ah ok great thanks! |
Feel free to close this out then, appreciate the help! I'll follow up with a new ticket if I have any issues |
Describe the Feature
The eks-node-group resource now supports launch templates.
See associated aws post as well as eks launch templates docs for more information.
Expected Behavior
launch_template
somewhere in call-site of this modulelaunch_template
output within attribute ofcloudposse/terraform-aws-eks-node-group
Use Case
I'd like to be able to add user data (ie. install SSM agent) to my EKS managed node groups, and I am unable to do that without adding launch templates.
Describe Ideal Solution
There should be a
launch_template
attribute that is 'settable' for the moduleAlternatives Considered
Only alternative would be to remove dependency to this module and hand write it 😛
Additional Context
launch_template
terraform resourceThe text was updated successfully, but these errors were encountered: