From 541f6351fe2c3200c40e4a9375ff49b93be71141 Mon Sep 17 00:00:00 2001 From: Bill Wang Date: Tue, 26 Jun 2018 02:36:54 +0000 Subject: [PATCH] #34 - asg size changes should be ignored - desired_capacity --- workers.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/workers.tf b/workers.tf index ed3f0d8..e83412f 100644 --- a/workers.tf +++ b/workers.tf @@ -14,6 +14,10 @@ resource "aws_autoscaling_group" "workers" { ), local.asg_tags) }"] + + lifecycle { + ignore_changes = ["desired_capacity"] + } } resource "aws_launch_configuration" "workers" {