-
-
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
enable_irsa = true
fails on new cluster
#2170
Comments
Also wanted to comment here that I encountered the same issue while testing the creation of new EKS clusters using EKS Blueprints.
|
Also seeing this error when running terraform apply in terraform-aws-eks/examples/complete ╷ |
ALso seeing this error: │ Error: Invalid index
│
│ on modules/terraform-aws-eks/main.tf line 211, in resource "aws_iam_openid_connect_provider" "oidc_provider":
│ 211: thumbprint_list = concat([data.tls_certificate.this[0].certificates[0].sha1_fingerprint], var.custom_oidc_thumbprints)
│ ├────────────────
│ │ data.tls_certificate.this[0].certificates is empty list of object
│
│ The given key does not identify an element in this collection value: the collection has no elements. |
We also received this error, and were able to work around it by pinning hashicorp/tls to <4.0.0 terraform {
required_providers {
tls = {
version = "<4.0.0"
}
}
} |
* Add workaround for terraform-aws-modules/terraform-aws-eks#2170. * Remove `ClusterIssuer` manifest configuration.
I also encountered the same issue today @smuth4 Thank you, you saved my life |
This is hunting us aswell. |
FYI this is the underlying issue hashicorp/terraform-provider-tls#244 |
This issue has been resolved in version 18.26.6 🎉 |
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. |
Issue
I'm working through the Karpenter example and enabling IRSA via
enable_irsa = true
fails on a new cluster with the following error when attemptingterraform plan
andterraform apply
:It succeeds when I set
enable_irsa = false
, runterraform apply
, setenable_irsa = true
, and then runterraform apply
again. Is this intended? I didn't see anything in the documentation saying that it couldn't be used on a new cluster.Terraform manifest
Terraform version
The text was updated successfully, but these errors were encountered: