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

Unable to install karpenter using terraform EKS Module v18.19.0 #1635

Closed
sriram0721 opened this issue Apr 7, 2022 · 5 comments
Closed

Unable to install karpenter using terraform EKS Module v18.19.0 #1635

sriram0721 opened this issue Apr 7, 2022 · 5 comments
Labels
documentation Improvements or additions to documentation

Comments

@sriram0721
Copy link

##Version
eks 1.21
Terraform eks module - 18.19.0

We are trying to install karpenter on eks which is provisioned through terraform aws eks module (18.19.0) . As per karpenter docs, it states eks version to be <18 . When i tried to install it on my cluster, i faced an error

│ 12: role = module.eks.worker_iam_role_name
│ ├────────────────
│ │ module.eks is a object, known only after apply

│ This object does not have an attribute named "worker_iam_role_name".

When i referenced with tf docs, there is no output as "worker_iam_role_name" for version 18+ .
Do i need to use older eks module versions or is there any work around for this ?

@sriram0721 sriram0721 added the bug Something isn't working label Apr 7, 2022
@pratikbin
Copy link

@sriram0721 you can use this mine tf which is new, the one in docs are using deprecated modules.

#1634

@sriram0721
Copy link
Author

hey thanks for that it worked!. btw, when i try to test it out by scaling a deployment, it does provisions the node. However, the node is not getting attached to the cluster. its in not ready state because of some taints. Any idea on this @pratikbin ?

@bwagner5
Copy link
Contributor

bwagner5 commented Apr 7, 2022

We should probably update our docs to use v18 of the EKS Terraform module.

@bwagner5 bwagner5 added documentation Improvements or additions to documentation and removed bug Something isn't working labels Apr 7, 2022
@bwagner5 bwagner5 changed the title Unable to install karpenter using terraform in eks Unable to install karpenter using terraform EKS Module v18.19.0 Apr 7, 2022
@bryantbiggs
Copy link
Member

#1332 just merged and should resolve this

@sriram0721
Copy link
Author

cool!. we can close this 👯

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

No branches or pull requests

4 participants