-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
TL;DR
Module Version
using v31.1.0 source GKE: https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/blob/v31.1.0/modules/private-cluster-update-variant/cluster.tf
Expected behavior
The module should successfully refresh state and generate a plan by querying available zones using a Data Source.
Observed behavior
Terraform fails during the plan phase with the following error:
│ Error: Resource Not Implemented
│
│ The combined provider does not implement the requested resource type. This
│ is always an issue in the provider implementation and should be reported to
│ the provider developers.
│
│ Missing resource type: google_compute_zones
Terraform Configuration
Not found on the code:
provider "google" {}
data "google_compute_zones" "available" {}Terraform Version
>= 1.4.6Terraform Provider Versions
Provider Version(s)
hashicorp/google >= 3.65
hashicorp/helm ~> 3.0.1Additional information
The error indicates that the module (or a dependency) is attempting to call google_compute_zones as a resource rather than a data source. Since google_compute_zones only exists as a data source in the HashiCorp Google Provider, the provider engine throws a "Not Implemented" error.
We are using internal module google/gke/ which likely wraps the upstream terraform-google-kubernetes-engine module from: source GKE: https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/blob/v31.1.0/modules/private-cluster-update-variant/cluster.tf