This change introduces a new function multiprefixloop as a convenience function for splitting multiple cidr prefixes govorned by the number of bits and required offset inside each prefix.
This function might be used in instances such as dividing additional VPC cidrs into subnets without requiring multiple instances of the funtion to be declared in a given composition.
Additionally this PR:
Contributes towards issue #2 by introducing happy path unit tests for each function.
Offers additional documentation for the function input definition
Introduces the missing make debug command referenced in the readme
This change introduces a new function
multiprefixloop
as a convenience function for splitting multiple cidr prefixes govorned by the number of bits and required offset inside each prefix.This function might be used in instances such as dividing additional VPC cidrs into subnets without requiring multiple instances of the funtion to be declared in a given composition.
Additionally this PR:
make debug
command referenced in the readmeDescription of your changes
Fixes #
I have:
make reviewable
to ensure this PR is ready for review.~backport release-x.y
labels to auto-backport this PR, as appropriate.~How has this code been tested
By introducing tests that contribute towards ensuring stability of the function
Additionally by validating that there is no change to execution through
crossplane beta render
usingmake debug
andmake render
commands