Skip to content

Commit

Permalink
fix: remove duplicate terraform resource definition (#3066)
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
spypsy authored Oct 26, 2023
1 parent 75fcd3d commit d5abadb
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions iac/mainnet-fork/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit d5abadb

Please sign in to comment.