From a51c8be101368e3a701c03bf6b59c065dcccbdf0 Mon Sep 17 00:00:00 2001 From: Eric Hole Date: Wed, 6 May 2020 21:48:04 -0700 Subject: [PATCH] Adds clarification to gke-cluster module for node_config (#68) --- modules/gke-cluster/main.tf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/gke-cluster/main.tf b/modules/gke-cluster/main.tf index 4b98acd5..31ef293a 100644 --- a/modules/gke-cluster/main.tf +++ b/modules/gke-cluster/main.tf @@ -45,9 +45,11 @@ resource "google_container_cluster" "cluster" { initial_node_count = 1 remove_default_node_pool = true - # node_config - # TODO(ludomagno): compute addons map in locals and use a single dynamic block + # node_config {} + # NOTE: Default node_pool is deleted, so node_config (here) is extranneous. + # Specify that node_config as an parameter to gke-nodepool module instead. + # TODO(ludomagno): compute addons map in locals and use a single dynamic block addons_config { dns_cache_config { enabled = var.addons.dns_cache_config