-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Attribute-Based Instance Type Selection for node groups #1800
Comments
This issue has been automatically marked as stale because it has been open 30 days |
This issue was automatically closed because of stale in 10 days |
bad bot |
This issue has been automatically marked as stale because it has been open 30 days |
This issue was automatically closed because of stale in 10 days |
Would a maintainer please reopen and stop the bot from marking this stale? |
Launch template support has been added to the AWS provider, we still need autoscaling group support as well hashicorp/terraform-provider-aws#21566 |
@bryantbiggs I believe hashicorp/terraform-provider-aws#21566 doesn't cover the May be we look at using ec2_instance_types data source to implement instance selector similar to how eksctl does here Any thoughts? |
Correct - getting it into the EKS managed node group is a whole different ball of yarn. First we need the EKS service to support it in managed node groups, then the AWS provider will need to update (possibly, depending on implementation/API). We could try passing a launch template with the attribute based instance selection and see what happens - haven't tried that myself 🤷🏽 |
hashicorp/terraform-provider-aws#21566 is now closed so work on this can progress. |
This feature would be very useful. Can someone look into it? |
v19 needs to be released to increase the provider version to at least v4.x first |
This issue has been resolved in version 19.0.0 🎉 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Is your request related to a new offering from AWS?
Yes, see:
https://aws.amazon.com/blogs/aws/new-attribute-based-instance-type-selection-for-ec2-auto-scaling-and-ec2-fleet/
https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html
The feature is not yet implemented in the Terraform AWS provider, see corresponding issue:
hashicorp/terraform-provider-aws#21566
This would be a great feature for node groups using SPOT or ON DEMAND with instance diversification. It would simplify node group configuration and make it future proof by just provision the needed resources (for example vCPU and memory) and let the corresponding AWS API pickup suitable instance types even new ones as they become available.
The text was updated successfully, but these errors were encountered: