Add ignore_changes for AWS worker image_id

This commit is contained in:
Dalton Hubble
2018-03-10 13:13:48 -08:00
parent 42708f9a70
commit b61d6373c5
2 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,6 @@ resource "aws_autoscaling_group" "workers" {
lifecycle {
# override the default destroy and replace update behavior
create_before_destroy = true
ignore_changes = ["image_id"]
}
tags = [{
@ -53,6 +52,7 @@ resource "aws_launch_configuration" "worker" {
lifecycle {
// Override the default destroy and replace update behavior
create_before_destroy = true
ignore_changes = ["image_id"]
}
}