Skip to content

Commit f198753

Browse files
committed
refactor: ecs service and autoscaling group race condition
1 parent 799a984 commit f198753

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.tf

+2
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ resource "aws_ecs_service" "this" {
150150
}
151151

152152
tags = try(var.service.tags, {})
153+
154+
depends_on = [module.asg]
153155
}
154156

155157
################################################################################

0 commit comments

Comments
 (0)