Ray-on-gke platform/terraform plan fails with "Kubernetes cluster unreachable"

could someone advise on issues with ray-on-gke terraform’s scripts?

I am getting error after running ‘terraform plan’

thanks in advance

Plan: 3 to add, 0 to change, 0 to destroy.

│ Error: Kubernetes cluster unreachable: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable

│ with module.kuberay.helm_release.kuberay-operator,
│ on modules/kuberay/kuberay.tf line 15, in resource “helm_release” “kuberay-operator”:
│ 15: resource “helm_release” “kuberay-operator” {

solved. I had to clear the terraform local cache