From 93f7748453018e931f0907e3e2ade3eb3dfadb25 Mon Sep 17 00:00:00 2001 From: Zadkiel AHARONIAN Date: Wed, 7 Aug 2024 14:13:00 +0200 Subject: [PATCH] fix: ignore changes to associate_public_ip_address --- main.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.tf b/main.tf index f8e2185..e2f8401 100644 --- a/main.tf +++ b/main.tf @@ -168,7 +168,8 @@ resource "aws_instance" "default" { lifecycle { ignore_changes = [ - ami + ami, + associate_public_ip_address, ] }