You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Collapsed regional and zonal clusters into one cluster with location attribute instead usage of count, zones and regions.
Selection of latest nodes and master version same both for regional and zonal/multi-zonal clusters.
For Master version in case or regional cluster following code check latest version by location (region),
and for zonal, location is var.zone[0]:
latest_master_version = data.google_container_engine_versions.master.latest_master_version
For Node version in case of regional cluster used latest master version of first of available zones, and in case of
zonal cluster - latest master version of var.zones[0] zone
location = local.zone_count == 0 ? data.google_compute_zones.available.names[0] : var.zones[0]
Fixes#161
0 commit comments