Fixes for GKE

* Fix non-empty plan when spot instances are used
* Add cluster_id and recommend its use, as this prevents inconsitencies
  when only cluster is recreated (with no changes on node pool)
This commit is contained in:
Wiktor Niesiobędzki
2022-12-21 12:56:17 +01:00
committed by Wiktor Niesiobędzki
parent b438e0c37a
commit 7e18f6d7b5
5 changed files with 28 additions and 19 deletions

View File

@@ -14,6 +14,12 @@
* limitations under the License.
*/
variable "cluster_id" {
description = "Cluster id. Optional, but providing cluster_id is recommended to prevent cluster misconfiguration in some of the edge cases."
type = string
default = null
}
variable "cluster_name" {
description = "Cluster name."
type = string