Skip to content

Remove google provider definition from the module

Igor requested to merge igorwwwwwwwwwwwwwwwwwwww-main-patch-79527 into main

The module-level provider block overrides the one from the root project. This is causing issues with authentication, because we are expecting to impersonate an account via:

provider "google" {
  project      = var.project
  region       = var.region
  access_token = data.vault_generic_secret.gcp_impersonated_account_token.data.token
}

(source)

Note: This change may require users of the module to declare the google provider on their own, if they haven't done so already.

refs https://gitlab.com/gitlab-com/gl-infra/reliability/-/issues/23720

Merge request reports