Skip to content

Commit 87aedab

Browse files
authored
fix: enable wait_for_steady_state for ECS services (#6)
1 parent 31864d8 commit 87aedab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/ecs/main.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ resource "aws_ecs_service" "server" {
2828

2929
deployment_minimum_healthy_percent = 100
3030
deployment_maximum_percent = 200
31+
wait_for_steady_state = true
3132

3233
capacity_provider_strategy {
3334
base = 1
@@ -63,6 +64,7 @@ resource "aws_ecs_service" "drain" {
6364

6465
deployment_minimum_healthy_percent = 100
6566
deployment_maximum_percent = 200
67+
wait_for_steady_state = true
6668

6769
capacity_provider_strategy {
6870
base = 1
@@ -86,6 +88,7 @@ resource "aws_ecs_service" "scheduler" {
8688

8789
deployment_minimum_healthy_percent = 100
8890
deployment_maximum_percent = 200
91+
wait_for_steady_state = true
8992

9093
capacity_provider_strategy {
9194
base = 1

0 commit comments

Comments
 (0)