-
Notifications
You must be signed in to change notification settings - Fork 985
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 auth method failing in 2.6.0 #1469
Comments
This is still broken as of |
Same issue on my side.
works fine in 2.5.1 and 2.5.0, fails in 2.6.0 and 2.6.1 |
I ran into this problem but it was fixed with below code. data "aws_eks_cluster" "default" {
name = var.cluster_name
}
data "aws_eks_cluster_auth" "default" {
name = var.cluster_name
}
provider "kubernetes" {
host = data.aws_eks_cluster.default.endpoint
cluster_ca_certificate = base64decode(data.aws_eks_cluster.default.certificate_authority[0].data)
token = data.aws_eks_cluster_auth.default.token
} |
We specifically need the |
Oh! I see. |
This is still broken in 2.7.1. If I can provide any more information on this please let me know. |
Same issue here, works in 2.5.1, broken from 2.6.0. |
I believe this is fixed in 2.8.0 with the removal of |
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. |
Terraform Version, Provider Version and Kubernetes Version
Affected Resource(s)
Provider Init
Terraform Configuration Files
Debug Output
I'm not comfortable sharing this publicly since I'm not sure what (if any) sensitive info it has in it. Can provide it privately on request.
Panic Output
Steps to Reproduce
terraform apply
Expected Behavior
Provider initializes correctly. This works with
2.5.0
Actual Behavior
Provider fails to initialize
The text was updated successfully, but these errors were encountered: