From d5abadb34f843d6f0e5831e905d1241d14df6237 Mon Sep 17 00:00:00 2001 From: spypsy Date: Thu, 26 Oct 2023 15:43:32 +0100 Subject: [PATCH] fix: remove duplicate terraform resource definition (#3066) Please provide a paragraph or two giving a summary of the change, including relevant motivation and context. # Checklist: Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge. - [ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag. - [ ] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code. - [ ] Every change is related to the PR description. - [ ] I have [linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) this pull request to relevant issues (if any exist). --- iac/mainnet-fork/terraform/main.tf | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/iac/mainnet-fork/terraform/main.tf b/iac/mainnet-fork/terraform/main.tf index 9104c0888c1..8cec1f4a18b 100644 --- a/iac/mainnet-fork/terraform/main.tf +++ b/iac/mainnet-fork/terraform/main.tf @@ -194,22 +194,6 @@ resource "aws_alb_target_group" "mainnet_fork" { } } - -resource "aws_lb_listener_rule" "mainnet_fork_route" { - listener_arn = data.terraform_remote_state.aztec2_iac.outputs.mainnet-fork-listener-id - - action { - type = "forward" - target_group_arn = aws_alb_target_group.mainnet_fork.arn - } - - condition { - host_header { - values = ["aztec-network-mainnet-fork.aztec.network"] - } - } -} - resource "aws_ecs_service" "aztec_mainnet_fork" { name = "aztec-network-mainnet-fork" cluster = data.terraform_remote_state.setup_iac.outputs.ecs_cluster_id @@ -248,7 +232,6 @@ resource "aws_cloudwatch_log_group" "aztec_mainnet_fork_logs" { } resource "aws_lb_listener_rule" "aztec_mainnet_fork_route" { - # listener_arn = data.terraform_remote_state.setup_iac.outputs.mainnet-fork-listener-id listener_arn = data.terraform_remote_state.aztec2_iac.outputs.mainnet-fork-listener-id action {