-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwaf.tf
36 lines (34 loc) · 824 Bytes
/
waf.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
resource "aws_wafv2_web_acl" "wafv2" {
name = "aws-poc-wafv2"
scope = "CLOUDFRONT"
default_action {
allow {}
}
rule {
name = "AWS-AWSManagedRulesAmazonIpReputationList"
priority = 1
override_action {
none {}
}
statement {
managed_rule_group_statement {
name = "AWSManagedRulesAmazonIpReputationList"
vendor_name = "AWS"
}
}
visibility_config {
cloudwatch_metrics_enabled = false
metric_name = "AWS-AWSManagedRulesAmazonIpReputationList"
sampled_requests_enabled = false
}
}
visibility_config {
cloudwatch_metrics_enabled = false
metric_name = "aws-poc-wafv2"
sampled_requests_enabled = false
}
tags = {
Project = "aws-poc"
}
provider = aws.virginia
}