From ca73e7ab20c528f6a9c67e2240b0bc34bec6bad9 Mon Sep 17 00:00:00 2001 From: lolli001 Date: Tue, 30 Jul 2024 14:59:13 -0400 Subject: [PATCH] lifecycle change --- main.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.tf b/main.tf index 50d40cb..5477f44 100644 --- a/main.tf +++ b/main.tf @@ -158,4 +158,8 @@ module "windows" { vpc_config = local.vpc_config source_ami = "ami-012fffaddacaa52ff" # x86_64 compatible AMI instance_type = "t2.xlarge" # x86_64 compatible instance type + + lifecycle { + prevent_destroy = true + } } \ No newline at end of file