You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to enable Auto mode for an already existing cluster (by adding in the cluster_compute_config input) I start getting the error dial tcp 127.0.0.1:80: connect: connection refused for resources that use either the kubernetes provider or the helm provider.
It is only when trying to turn on auto mode with the cluster_compute_config input this starts happening. Any changes without this input still work as expected.
✋ I have searched the open/closed issues and my issue is not listed.
⚠️ Note
Before you submit an issue, please perform the following first:
Remove the local .terraform directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!): rm -rf .terraform/
Re-initialize the project root to pull down modules: terraform init
Re-attempt your terraform plan or apply and check if the issue still persists
I think this is bc it is trying to drop/recreate the cluster and that causes an issue if you have helm or k8s provider in the same terraform project. I think if you set bootstrap_self_managed_addons = true, your error may go away bc I think that's what's causing the drop/recreate. However, I'm not sure the consequences of this. I spent a good part of a day trying to switch an existing cluster to auto mode and ended up breaking things so badly, I had to manually delete my cluster and recreate it. More broadly speaking, it isn't very clear how to migrate an existing cluster to auto mode in either the aws docs or this repo. Any insights there would be great.
Description
When attempting to enable Auto mode for an already existing cluster (by adding in the
cluster_compute_config
input) I start getting the errordial tcp 127.0.0.1:80: connect: connection refused
for resources that use either the kubernetes provider or the helm provider.It is only when trying to turn on auto mode with the
cluster_compute_config
input this starts happening. Any changes without this input still work as expected.Before you submit an issue, please perform the following first:
.terraform
directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!):rm -rf .terraform/
terraform init
Versions
Module version [Required]:
20.31.6
Terraform version:
1.5.2
Reproduction Code [Required]
Steps to reproduce the behavior:
Expected behavior
EKS auto mode is turned on
Actual behavior
Terraform errors out without being able to connect to EKS
Terminal Output Screenshot(s)
Additional context
Add-on versions of existing cluster:
v1.19.2-eksbuild.1
v1.30.7-eksbuild.2
v1.37.0-eksbuild.1
v1.3.4-eksbuild.1
v1.11.4-eksbuild.1
The errors for the connection are on the a
namespace
resource and ahelm_release
resourceThe text was updated successfully, but these errors were encountered: