Ignore lifecycle changes to the AWS controller ami
This commit is contained in:
parent
195d902ab6
commit
c8313751d7
|
@ -36,6 +36,10 @@ resource "aws_instance" "controllers" {
|
||||||
associate_public_ip_address = true
|
associate_public_ip_address = true
|
||||||
subnet_id = "${element(aws_subnet.public.*.id, count.index)}"
|
subnet_id = "${element(aws_subnet.public.*.id, count.index)}"
|
||||||
vpc_security_group_ids = ["${aws_security_group.controller.id}"]
|
vpc_security_group_ids = ["${aws_security_group.controller.id}"]
|
||||||
|
|
||||||
|
lifecycle {
|
||||||
|
ignore_changes = ["ami"]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# Controller Container Linux Config
|
# Controller Container Linux Config
|
||||||
|
|
Loading…
Reference in New Issue