Skip to content
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

Error when configured multiple instance types #8

Closed
maxgio92 opened this issue Jan 21, 2020 · 2 comments
Closed

Error when configured multiple instance types #8

maxgio92 opened this issue Jan 21, 2020 · 2 comments

Comments

@maxgio92
Copy link
Contributor

maxgio92 commented Jan 21, 2020

Hi,
I don't know if this is useful but I'm falled into this issue when providing two instance types:

data.aws_iam_policy_document.assume_role[0]: Refreshing state...

Error: instance_types: attribute supports 1 item maximum, config has 2 declared

  on main.tf line 66, in resource "aws_eks_node_group" "default":
  66: resource "aws_eks_node_group" "default" {

At the moment I did not try to solve this issue since I'm opening a PR on another one :-)

@woz5999
Copy link
Contributor

woz5999 commented Mar 12, 2020

This seems to be a result of bad AWS API naming and the various downstream projects remaining consistent with a bad name: hashicorp/terraform-provider-aws#11414

@Nuru
Copy link
Sponsor Contributor

Nuru commented Sep 7, 2020

It is an AWS EKS limitation that you can only supply a single instance type, even though launch templates in general support multiple instance types, and the API name follows the launch template API name and is plural.

We have added a validation error message about this, which is about all we can do.

Closing, as there is not much more we can do about this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants