diff --git a/terraform/main.tf b/terraform/main.tf index 660f8e9..1d247bd 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -37,6 +37,9 @@ sudo apt-get -y --no-install-recommends install ansible EOF tags = { Name = "social" } + lifecycle { + ignore_changes = [ ami ] + } } resource "aws_eip" "social" {