-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
aws_eks_node_group accepts instance_types, while EKS only allows one type #11414
Comments
Hi @TBeijen 👋 Thank you for submitting this. Our preference in the Terraform AWS Provider is to follow the API naming and structures provided by AWS. This is to prevent difficulties caused by introducing our own abstractions (for maintainers and operators switching between tooling such as the AWS CLI or CloudFormation) and for general future-proofing of Terraform resources against upstream API changes that otherwise may cause operator burden if our abstractions are incorrect and the original implementation needs to be deprecated. In this case, the EKS CreateNodegroup API denotes the field as the plural I have submitted #11457 to update our documentation to mention the current API restriction. |
This has been released in version 2.45.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Terraform Version
Terraform: 0.12.16
Provider aws: 2.43.0
Affected Resource(s)
Terraform Configuration Files
Debug Output
Expected Behavior
No error when following resource documentation
Actual Behavior
Error as displayed above.
Steps to Reproduce
Trying to create a
eks_node_group
resource specifying more than 1 instance type (1 works fine)Important Factoids
This seems to be a combination of:
Suggested changes:
instance_type
. This would need to be aligned with EKS roadmap. If at some point EKS plans to support multiple instance types, it's better to keep this var name.The text was updated successfully, but these errors were encountered: