Hi Guys, I try to use microstacks and I would like to calculate a 3 available fix IPs 1/subnet in a VPC (in the current stack I know the vpcId), I need these IPs in different subnets. How should I do this with Pulumi? 😉 I can use 3rd party tools to achieve this goal
b
best-xylophone-83824
02/15/2019, 7:25 PM
Pulumi is just typescript/javascript, I am sure there is abundance of NPM packages for CIDR calculations
s
stocky-spoon-28903
02/15/2019, 7:33 PM
There actually aren’t the abundance you think there are!
I’m not 100% sure I understand the requirement though - could you give an example, @cuddly-eye-68174?
c
cuddly-eye-68174
02/15/2019, 7:36 PM
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