AWS WAF Regex Pattern Set

This page shows how to write Terraform for AWS WAF Regex Pattern Set and write them securely.

aws_waf_regex_pattern_set (Terraform)

The Regex Pattern Set in AWS WAF can be configured in Terraform with the resource name aws_waf_regex_pattern_set. The following sections describe 1 example of how to use the resource and its parameters.

Example Usage from GitHub
resource "aws_waf_regex_pattern_set" "this" {
  name                  =
  regex_pattern_strings = var.regex_pattern_strings

Review your Terraform file for AWS best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).


Explanation in Terraform Registry

Provides a WAF Regex Pattern Set Resource

CloudFormation Example

CloudFormation code does not have the related resource.

Frequently asked questions

What is AWS WAF Regex Pattern Set?

AWS WAF Regex Pattern Set is a resource for WAF of Amazon Web Service. Settings can be wrote in Terraform.

Where can I find the example code for the AWS WAF Regex Pattern Set?

For Terraform, the niveklabs/aws source code example is useful. See the Terraform Example section for further details.


Automate config file reviews on your commits

Fix issues in your infrastructure as code with auto-generated patches.