Closed G-Goldstein closed 3 years ago
I've found that the above is successful as long as the cluster exists at apply
time, which is different to the behaviour of the kubernetes
provider. Is this expected? Could I request a feature change here?
It looks like this is fixed by https://github.com/banzaicloud/terraform-provider-k8s/pull/64 (released as v0.8.4).
Have you seen this working with v0.8.4 @jeroenj?
Yes, colleagues of mine spun up a new cluster yesterday and also hit the problem described in this issue (which we were tracking already). They've then upgraded to v0.8.4 which seems to have resolved this issue.
I'll be spinning up another cluster with this later this week too. I'll also try to confirm it works as expected.
Thank you very much for sharing this!
Closing now with fixed by #64.
The readme in this repo suggests we can define static credentials like this:
I want to do that, using the same parameters as my
kubernetes
provider that is already up and working:But it doesn't seem to like these settings; on
terraform plan
I get this error:I'm not running Terraform in a cluster. I expect the k8s provider to be using the passed credentials and not trying to load in-cluster configuration.
I'm using banzaicloud/k8s v0.8.3 and Terraform v0.13.0