Skip to content

Module does not work with WIF creds #99

Description

@hitk6

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions