mumoshu / terraform-provider-eksctl

Manage AWS EKS clusters using Terraform and eksctl
Apache License 2.0
234 stars 44 forks source link

The provider provider.eksctl does not support resource type "eksctl_cluster_deployment" #31

Open shridhar-at-droit opened 3 years ago

shridhar-at-droit commented 3 years ago

I am getting following error

The provider provider.eksctl does not support resource type "eksctl_cluster_deployment"

I am using following versions

mumoshu commented 3 years ago

@shridhar-at-droit Ah sorry but the _deployment variant had been deprecated and has already been removed in https://github.com/mumoshu/terraform-provider-eksctl/commit/c7a43e3e2771e3781c803b41846f1f119a97a50b. Could you use eksctl_cluster instead?

shridhar-at-droit commented 3 years ago

thanks for the update, In my case, cluster is already created usingeksctl command lineand now I just want to add new nodes. Is this possible from eksctl_cluster ? or I need to create new cluster?

mumoshu commented 3 years ago

@shridhar-at-droit In that case you can either use eksctl_nodegroup added just today, or terraform import your cluster into an eksctl_cluster resource, place your existing cluster.yaml into eksctl_cluster's spec attribute, and add one or more nodegroups inside it.