Ignore lifecycle changes to the AWS controller ami

This commit is contained in:
Stephen Augustus 2018-02-15 15:33:02 -08:00 committed by Dalton Hubble
parent 195d902ab6
commit c8313751d7
1 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,10 @@ resource "aws_instance" "controllers" {
associate_public_ip_address = true
subnet_id = "${element(aws_subnet.public.*.id, count.index)}"
vpc_security_group_ids = ["${aws_security_group.controller.id}"]
lifecycle {
ignore_changes = ["ami"]
}
}
# Controller Container Linux Config