-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor/flatten duplicate resources terraform-google-modules#161
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 terraform-google-modules#161
- Loading branch information
1 parent
ed58124
commit 687703b
Showing
40 changed files
with
1,113 additions
and
2,715 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.