Hello,
We are using WIF (Workload Identity Federation ) to deploy GKE cluster from AWS environment. I have successfully completed the following:
- Create a WIF for an AWS role.
- Initialize terraform gcp provider with WIF credentials.
- Terraform is running and creating various resources in GCP like vpc, subnet, cluster.
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
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