Skip to content

binxio/terraform-cidr-expand

Repository files navigation

CIDR Expand

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.

Requirements

Name Version
terraform >= 0.13.0

Resources

No resources.

Inputs

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

Outputs

Name Description
ip_addresses List of IP addresses in provided CIDR.

About

Terraform module to expand CIDR address to IP address list

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages