Skip to content

Commit

Permalink
update fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
HK authored and HK committed Oct 23, 2023
1 parent ec4e59a commit 533e7b6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions infra/modules/service/waf.tf
Original file line number Diff line number Diff line change
Expand Up @@ -193,18 +193,18 @@ resource "aws_cloudwatch_log_group" "WafWebAclLoggroup" {

resource "aws_wafv2_web_acl_logging_configuration" "WafWebAclLogging" {
log_destination_configs = [aws_cloudwatch_log_group.WafWebAclLoggroup.arn]
resource_arn = aws_wafv2_web_acl.WafWebAcl.arn
resource_arn = aws_wafv2_web_acl.waf.arn
depends_on = [
aws_wafv2_web_acl.WafWebAcl,
aws_wafv2_web_acl.waf,
aws_cloudwatch_log_group.WafWebAclLoggroup
]
}

resource "aws_wafv2_web_acl_association" "WafWebAclAssociation" {
resource_arn = aws_lb.alb.arn
web_acl_arn = aws_wafv2_web_acl.WafWebAcl.arn
web_acl_arn = aws_wafv2_web_acl.waf.arn
depends_on = [
aws_wafv2_web_acl.WafWebAcl,
aws_wafv2_web_acl.waf,
aws_cloudwatch_log_group.WafWebAclLoggroup
]
}

0 comments on commit 533e7b6

Please sign in to comment.