Skip to content

Latest commit

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..

README.md

waf-ip-set

This module creates following resources.

  • aws_wafv2_ip_set

Requirements

Name Version
terraform >= 1.12
aws >= 6.12

Providers

Name Version
aws >= 6.12

Modules

Name Source Version
resource_group tedilabs/misc/aws//modules/resource-group ~> 0.12.0

Resources

Name Type
aws_wafv2_ip_set.this resource

Inputs

Name Description Type Default Required
name (Required) A name of the IP set. string n/a yes
description (Optional) The description of the IP set. Defaults to Managed by Terraform.. string "Managed by Terraform." no
ip_address_type (Required) The type of IP addresses used by the IP set. Valid values are IPV4 or IPV6. Defaults to IPV4. string "IPV4" no
ip_addresses (Optional) A set of strings that specify one or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports all address ranges for IP versions IPv4 and IPv6. set(string) [] no
is_global (Optional) Specify whether this is for a global application(AWS CloudFront distribution) or for a regional application. Defaults to false. To work with a global application, you must also specify the Region US East (N. Virginia). bool false no
module_tags_enabled (Optional) Whether to create AWS Resource Tags for the module informations. bool true no
region (Optional) The region in which to create the module resources. If not provided, the module resources will be created in the provider's configured region. string null no
resource_group (Optional) A configurations of Resource Group for this module. resource_group as defined below.
(Optional) enabled - Whether to create Resource Group to find and group AWS resources which are created by this module. Defaults to true.
(Optional) name - The name of Resource Group. A Resource Group name can have a maximum of 127 characters, including letters, numbers, hyphens, dots, and underscores. The name cannot start with AWS or aws. If not provided, a name will be generated using the module name and instance name.
(Optional) description - The description of Resource Group. Defaults to Managed by Terraform..
object({
enabled = optional(bool, true)
name = optional(string, "")
description = optional(string, "Managed by Terraform.")
})
{} no
tags (Optional) A map of tags to add to all resources. map(string) {} no

Outputs

Name Description
arn The Amazon Resource Name (ARN) of the IP set.
description The description of the IP set.
id The ID of the IP set.
ip_address_type The type of IP addresses used by the IP set.
ip_addresses A list of strings that specify one or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation.
is_global Whether this is for a global application(AWS CloudFront distribution) or for a regional application.
name The name of the IP set.
region The AWS region this module resources resides in.
resource_group The resource group created to manage resources in this module.