From c936ba1b39fe507cb1a214b94ab739321971b327 Mon Sep 17 00:00:00 2001 From: spypsy Date: Fri, 1 Dec 2023 18:08:20 +0000 Subject: [PATCH] fix(ci): count for bootnode discovery service --- yarn-project/p2p-bootstrap/terraform/main.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yarn-project/p2p-bootstrap/terraform/main.tf b/yarn-project/p2p-bootstrap/terraform/main.tf index 311c9b9b241..35462c6c24d 100644 --- a/yarn-project/p2p-bootstrap/terraform/main.tf +++ b/yarn-project/p2p-bootstrap/terraform/main.tf @@ -61,7 +61,8 @@ resource "aws_cloudwatch_log_group" "aztec-bootstrap-log-group" { } resource "aws_service_discovery_service" "aztec-bootstrap" { - name = "${var.DEPLOY_TAG}-aztec-bootstrap-${count.index + 1}" + count = local.bootnode_count + name = "${var.DEPLOY_TAG}-aztec-bootstrap-${count.index + 1}" health_check_custom_config { failure_threshold = 1