2016-10-27 13:54:36 +02:00
|
|
|
---
|
|
|
|
layout: "aws"
|
|
|
|
page_title: "AWS: waf_ipset"
|
|
|
|
sidebar_current: "docs-aws-resource-waf-ipset"
|
|
|
|
description: |-
|
|
|
|
Provides a AWS WAF IPSet resource.
|
|
|
|
---
|
|
|
|
|
2016-11-01 20:42:56 +01:00
|
|
|
# aws\_waf\_ipset
|
|
|
|
|
|
|
|
Provides a WAF IPSet Resource
|
|
|
|
|
2016-10-27 13:54:36 +02:00
|
|
|
## Example Usage
|
|
|
|
|
|
|
|
```
|
|
|
|
resource "aws_waf_ipset" "ipset" {
|
|
|
|
name = "tfIPSet"
|
2017-02-18 23:48:50 +01:00
|
|
|
|
2016-10-27 13:54:36 +02:00
|
|
|
ip_set_descriptors {
|
2017-02-18 23:48:50 +01:00
|
|
|
type = "IPV4"
|
2016-10-27 13:54:36 +02:00
|
|
|
value = "192.0.7.0/24"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## Argument Reference
|
|
|
|
|
|
|
|
The following arguments are supported:
|
|
|
|
|
|
|
|
* `name` - (Required) The name or description of the IPSet.
|
2017-02-18 23:48:50 +01:00
|
|
|
* `ip_set_descriptors` - (Required) The IP address type and IP address range (in CIDR notation) from which web requests originate.
|
2016-10-27 13:54:36 +02:00
|
|
|
|
|
|
|
## Remarks
|
|
|
|
|
|
|
|
## Attributes Reference
|
|
|
|
|
|
|
|
The following attributes are exported:
|
|
|
|
|
|
|
|
* `id` - The ID of the WAF IPSet.
|