Open andrew-gallin-current opened 1 year ago
I had a similar issue and found that the last working version seems to be 1.10.0.
Having similar issues trying to configure MetalLB resources using this provider. I was eventually able to get this to work after reading this and downgrading from the latest version to 1.11.0. I tried all of the 1.11.x version in reverse order and this was the first version that worked. I had also tried 1.10.0 as per the comment above which worked.
Getting the same error that the local config file does not exist and a failure to talk to the k8s cluster.
My provider appears to have started exclusively using the local config regardless of provider configuration. This only just started and I have been using this for several months.
The active cluster is used if not specified, but if I explicitly set the config profile param, the provider will use that.
I have removed the installed provider, reinstalled, removed and reinitialized my .terraform file and restarted my machine and the issue still persists.
This is the way my provider is invoked
Here are some debug logs:
Any idea what may be going on? The provider.go file seems to indicate that as long as it is set to false it would skip the config path.
I think using the local config by default should be turned off and people should opt in regardless. Not sure that would help this bug as it is ignoring that "false" param, but maybe it would.