From 11673e0eb2c75d3c074d609f5b9922e6f0cca588 Mon Sep 17 00:00:00 2001 From: Erik Stambaugh Date: Fri, 19 Jan 2024 17:33:17 -0800 Subject: [PATCH] please stop murdering my server whenever a new ami comes out thanks --- terraform/main.tf | 3 +++ 1 file changed, 3 insertions(+) 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" {