Skip to content

resource/aws_wafv2_web_acl_logging_configuration: New Resource #43457

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .changelog/1753019219.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aws_wafv2_web_acl_logging_configuration - Provides a resource to manage AWS WAFv2 Web ACL logging configuration
10 changes: 8 additions & 2 deletions internal/service/wafv2/web_acl_logging_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,14 @@ func resourceWebACLLoggingConfiguration() *schema.Resource {
MinItems: 1,
MaxItems: 100,
Elem: &schema.Schema{
Type: schema.TypeString,
ValidateFunc: verify.ValidARN,
Type: schema.TypeString,
ValidateFunc: validation.All(
verify.ValidARN,
validation.StringMatch(
regexache.MustCompile(`^arn:.*:logs:.*:.*:log-group:aws-waf-logs-.*`),
"log destination name must begin with 'aws-waf-logs-'",
),
),
},
Description: "AWS Kinesis Firehose Delivery Stream ARNs",
},
Expand Down
Loading
Loading