https://pulumi.com logo
b

bumpy-grass-54508

09/02/2021, 4:11 PM
Is there a built in function in pulumi that is equivalent to this terraform
cidrhost
? https://www.terraform.io/docs/language/functions/cidrhost.html
b

billowy-army-68599

09/02/2021, 4:11 PM
you can use any package that does the same thing in your supported language! Which language are you usig?
b

bumpy-grass-54508

09/02/2021, 4:12 PM
we are using c#
i just need the one cidrhost functionality, so i can probably find or reimplement it myself - but to echo the first link i think it would be cool to have these in some pulumi package as well! maybe i'll get around to helping out on the c# side...
b

billowy-army-68599

09/02/2021, 4:14 PM
yeah you should be able to do that relatively easily with the IPAddress class
b

bumpy-grass-54508

09/02/2021, 4:15 PM
gotcha i will start looking there - thanks!