Skip to content

Commit 9e2680c

Browse files
committed
fix stack dependency
1 parent d5c41b8 commit 9e2680c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
construct_id=f"{stack_name_prefix}-load-balancer",
4444
vpc=network_stack.vpc,
4545
)
46+
load_balancer_stack.add_dependency(ecs_stack)
4647

4748
app_props = ServiceProps(
4849
ecs_task_cpu=256,
@@ -64,6 +65,5 @@
6465
certificate_arn=config["CERTIFICATE_ARN"],
6566
health_check_path="/health",
6667
)
67-
app_stack.add_dependency(app_stack)
6868

6969
cdk_app.synth()

0 commit comments

Comments
 (0)