Ignore lifecycle changes to the AWS controller ami
@@ -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
