awscc_wafv2_ip_set (Resource)

Contains a list of IP addresses. This can be either IPV4 or IPV6. The list will be mutually

Example Usage

Creates an IPV4 based WAFv2 IP SET with REGIONAL scope.

resource "awscc_wafv2_ip_set" "example" {
  name               = "example"
  description        = "Example IP set"
  scope              = "REGIONAL"
  ip_address_version = "IPV4"
  addresses          = ["1.2.3.4/32", "5.6.7.8/32"]

  tags = [
    {
      key   = "ModifiedBy"
      value = "AWSCC"
    }
  ]
}

Schema

Required

Optional

Read-Only

Nested Schema for tags

Optional:

Import

Import is supported using the following syntax:

$ terraform import awscc_wafv2_ip_set.example <resource ID>