Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Existing GSA name is not used as lookup for the service account #1007

Closed
johnraber opened this issue Sep 27, 2021 · 1 comment
Closed

Existing GSA name is not used as lookup for the service account #1007

johnraber opened this issue Sep 27, 2021 · 1 comment

Comments

@johnraber
Copy link

johnraber commented Sep 27, 2021

https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/blob/v16.1.0/modules/workload-identity/main.tf#L35.

Change account_id = var. name -> account_id = var. gcp_sa_name

data "google_service_account" "cluster_service_account" {
  count = var.use_existing_gcp_sa ? 1 : 0

  account_id = var. gcp_sa_name

  project    = var.project_id
}
@morgante
Copy link
Contributor

Duplicate of #1002, which will be fixed in the next release. You can pin to master if you need a fix sooner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants