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
module.gke.module.gcloud_delete_default_kube_dns_configmap.module.gcloud_kubectl.null_resource.run_command[0] (local-exec): ERROR: (gcloud.container.clusters.get-credentials) Your current active account [email@mail.com] does not have any valid credentials.
Please guide me how to use WIF creds with this module.
Thank you
The text was updated successfully, but these errors were encountered:
I don't have experience with Workload Identity Federation, but do you have an example of how you would be doing it on the command line (using gcloud) directly?
This could occur if the gcloud is too old to support WIF. Support for WIF was added in googleapis/google-auth-library-python#698, and gcloud would need to pull it in. I believe once gcloud is updated, it should just work. I don't have WIF configured but I did just confirm that my install of gcloud (v 349.0.0) is using google-auth v 1.32.0 which would contain support. Can you update gcloud on the machine where Terraform is running the kubectl-wrapper module? The helper script in there shells out gcloud to obtain creds... if it's up to date, I believe it'll work.
Hello,
We are using WIF (Workload Identity Federation ) to deploy GKE cluster from AWS environment. I have successfully completed the following:
The problem I am facing is:
module.gke.module.gcloud_delete_default_kube_dns_configmap.module.gcloud_kubectl.null_resource.run_command[0] (local-exec): ERROR: (gcloud.container.clusters.get-credentials) Your current active account [email@mail.com] does not have any valid credentials.
Please guide me how to use WIF creds with this module.
Thank you
The text was updated successfully, but these errors were encountered: