Skip to content

Commit 3ea71bc

Browse files
committed
57 fix: cp 재생성 하도록 처리
1 parent fb5f995 commit 3ea71bc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

component/ecs-ec2/capacity_provider.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ resource "aws_ecs_capacity_provider" "ecs_cluster_ec2_cp" {
1313

1414
managed_termination_protection = "DISABLED"
1515
}
16+
17+
lifecycle {
18+
create_before_destroy = true
19+
}
1620
}
1721

1822
resource "aws_ecs_cluster_capacity_providers" "ecs_cluster_default_cp" {

0 commit comments

Comments
 (0)