This Terraform module takes a CIDR-block and returns all IP addresses in the CIDR-block as a list. This allows you to use CIDR notation for IP addresses everywhere and simplify your Terraform interface.
Name | Version |
---|---|
terraform | >= 0.13.0 |
No resources.
Name | Description | Type | Default | Required |
---|---|---|---|---|
cidr | The IP address range in CIDR notation. Required format: '0.0.0.0/0' (IPv4) or '::/0' (IPv6) | string |
n/a | yes |
Name | Description |
---|---|
ip_addresses | List of IP addresses in provided CIDR. |