Skip to content

Commit

Permalink
Tribunals: move aws_wafv2_web_acl_association to refresh terraform st…
Browse files Browse the repository at this point in the history
…ate (#7423)
  • Loading branch information
matt-k1998 authored Aug 9, 2024
1 parent fdd9038 commit 8ec4a83
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions terraform/environments/tribunals/load_balancer.tf
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,8 @@ resource "aws_lb_listener_rule" "tribunals_lb_rule" {
}
}
}

resource "aws_wafv2_web_acl_association" "web_acl_association_my_lb" {
resource_arn = aws_lb.tribunals_lb.arn
web_acl_arn = aws_wafv2_web_acl.tribunals_web_acl.arn
}
5 changes: 0 additions & 5 deletions terraform/environments/tribunals/waf.tf
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,3 @@ resource "aws_wafv2_web_acl" "tribunals_web_acl" {
}
}
}

resource "aws_wafv2_web_acl_association" "web_acl_association_my_lb" {
resource_arn = aws_lb.tribunals_lb.arn
web_acl_arn = aws_wafv2_web_acl.tribunals_web_acl.arn
}

0 comments on commit 8ec4a83

Please sign in to comment.