https://pulumi.com logo
#typescript
Title
# typescript
a

able-flag-79751

05/31/2023, 11:38 AM
Hello all. Please how do I create subnets with valid cidrBlock values? Is there a way to auto generate cidrblock values from the vpc’s cidrblock?
s

steep-toddler-94095

06/01/2023, 9:28 PM
if you're creating a new VPC and are open to using
@pulumi/awsx
it does this for you but if you're using an existing VPC with existing subnets, you'll probably have to configure the blocks on your own due to potential CIDR overlaps