From a72877d5ac286cfd3eec921820a44a1c5e205a1b Mon Sep 17 00:00:00 2001 From: David Goodell Date: Tue, 5 Nov 2024 19:52:57 -0500 Subject: [PATCH] ignore ami_id --- main.tf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.tf b/main.tf index e7ae763..49dc871 100644 --- a/main.tf +++ b/main.tf @@ -254,7 +254,10 @@ resource "aws_instance" "instance" { ) lifecycle { - ignore_changes = [ebs_block_device] + ignore_changes = [ + ebs_block_device, + ami_id + ] } }