Skip to content

fix(kubernetes): Use gke module version 40.0.X to prevent breaking changes

Context

We use the private_cluster module provided by google to create our GKE intances. Starting from version 41.0.0, this module requires an upgrade in the major version of the google terraform provider from 6.X.X to 7.X.X (see here). Most of our modules require google provider version < 7.0.0, so private_cluster version 41.0.0 is incompatible with the rest of our project.

To avoid automatically upgrading to 41.0.0, I'm using ~> as (suggested by Hashicorp) to set the version of the module to 40.X.X.

Impact

Fixes incompatible version constraints issues while initializing shared services

Test(s)

Deploy vc-shared-services using this patch.

Edited by German Felipe Giraldo Villa

Merge request reports

Loading