terraformgoogle-kubernetes-engineterraform-provider-gcpclustering-key

How do i enable gce_persistent_disk_csi_driver_config with terraform gke module


I am using the Terraform GKE Module provided here

I need to enable gce_persistent_disk_csi_driver_config which is easily enabled when using google_container_cluster, like this (under the addons_config block)

gce_persistent_disk_csi_driver_config {
               enabled = false
}

However I cannot seem to find an equivalent of this configuration in the module gke provided in here


Solution

  • After loking into the Go code from the github repo, I found gce_pd_csi_driver which is what is being used to set the flag.

    gce_pd_csi_driver = true