فهرست منبع

set lifecycle to allow aws launch configuration to be modified

Roberto Barbosa 8 سال پیش
والد
کامیت
ff9216c810
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      ha_instance/asg.tf

+ 3 - 0
ha_instance/asg.tf

@@ -20,6 +20,9 @@ resource "aws_launch_configuration" "main" {
         delete_on_termination = true
     }
 
+    lifecycle { 
+	create_before_destroy = true 
+    }
 }
 
 resource "aws_autoscaling_group" "main" {