Resource: aws_waf_regex_pattern_set

Provides a WAF Regex Pattern Set Resource

Example Usage

resource "aws_waf_regex_pattern_set" "example" {
  name                  = "tf_waf_regex_pattern_set"
  regex_pattern_strings = ["one", "two"]
}

Argument Reference

This resource supports the following arguments:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import AWS WAF Regex Pattern Set using their ID. For example:

import {
  to = aws_waf_regex_pattern_set.example
  id = "a1b2c3d4-d5f6-7777-8888-9999aaaabbbbcccc"
}

Using terraform import, import AWS WAF Regex Pattern Set using their ID. For example:

% terraform import aws_waf_regex_pattern_set.example a1b2c3d4-d5f6-7777-8888-9999aaaabbbbcccc