Hi everyone! Has anyone already tried to create su...
# getting-started
b
Hi everyone! Has anyone already tried to create subnets dynamically? I'm looking for a way to create gcp subnets on the fly for each
region
in
deploymentStage
on my code. I'm looking for an efficient way to prevent networks overlap while being able to create subnets of different sizes... Is there a package for that? Should I use a python lib and write it myself?
m
I've had a good experience using https://pypi.org/project/netaddr/ for this purpose. You can iterate over the subnet ranges and instantiate the necessary Pulumi resources.