Skip to content

Commit 519573e

Browse files
committed
More dep's for zoneid output
1 parent 6c9af3c commit 519573e

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

operations/deployment/terraform/modules/aws/ecs/aws_ecs_networking.tf

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,20 @@ resource "aws_alb" "ecs_lb" {
4747

4848
data "aws_alb" "selected_lb" {
4949
name = var.aws_resource_identifier_supershort
50-
depends_on = [ aws_alb.ecs_lb ]
50+
depends_on = [
51+
aws_alb.ecs_lb,
52+
aws_alb_target_group.lb_targets,
53+
aws_alb_listener.lb_listener_ssl,
54+
aws_alb_listener.lb_listener,
55+
aws_alb_listener.http_redirect,
56+
aws_alb_listener.https_redirect,
57+
aws_alb_listener_rule.redirect_based_on_path,
58+
aws_alb_listener_rule.redirect_based_on_path_for_http,
59+
aws_security_group.ecs_lb_sg,
60+
aws_security_group_rule.incoming_ecs_lb_ports,
61+
aws_security_group_rule.incoming_alb_http,
62+
aws_security_group_rule.incoming_alb_https
63+
]
5164
}
5265

5366
resource "aws_alb_target_group" "lb_targets" {

0 commit comments

Comments
 (0)