Commit c4577d8d authored by Chris Merrett's avatar Chris Merrett

Ignore changes to the image_id for the near future

parent a31c1967
...@@ -75,7 +75,12 @@ resource "aws_launch_configuration" "bastion" { ...@@ -75,7 +75,12 @@ resource "aws_launch_configuration" "bastion" {
security_groups = ["${aws_security_group.bastion.id}"] security_groups = ["${aws_security_group.bastion.id}"]
user_data = "${data.template_file.userdata.rendered}" user_data = "${data.template_file.userdata.rendered}"
lifecycle { create_before_destroy = true } lifecycle {
create_before_destroy = true
ignore_changes = [
"image_id",
]
}
} }
resource "aws_autoscaling_group" "bastion" { resource "aws_autoscaling_group" "bastion" {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment