From f64125d0b2be3c1d6a8f173bb0d27740f3073302 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Fri, 5 Jun 2020 18:29:05 +0100 Subject: [PATCH] Ignore changes to size as we have autoscaling enabled --- terraform/kubernetes-cluster.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/terraform/kubernetes-cluster.tf b/terraform/kubernetes-cluster.tf index b97de57..707dd36 100644 --- a/terraform/kubernetes-cluster.tf +++ b/terraform/kubernetes-cluster.tf @@ -22,6 +22,10 @@ resource "scaleway_k8s_pool_beta" "k8s-cluster-pool-1" { max_size = 2 autoscaling = true autohealing = true + + lifecycle { + ignore_changes = [size] + } } output "api_server" {