This message was deleted.
# general
s
This message was deleted.
b
Pulumi is just typescript/javascript, I am sure there is abundance of NPM packages for CIDR calculations
s
There actually aren’t the abundance you think there are!
At least, not necessarily that do useful things
I ended up resorting to my “own” cidr math: https://github.com/jen20/pulumi-aws-vpc/blob/master/src/cidr.ts
I’m not 100% sure I understand the requirement though - could you give an example, @cuddly-eye-68174?
c
Guys, Thanks, I did not know there is a getVpc in the aws.ec2, I did not know it....i was looking for a module aws.vpc aws.network or something else....After I got the VPC, i can ask subnets, and of course i can choose IP
Thanks, this knowledge was needed for me...
aws.ec2 / getVpc...
so now I can access every property....