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

cuddly-barista-79466

06/13/2019, 6:56 PM
How would I convert this Terraform to Typescript? This is part of the vsphere Clone/Customize when creating a new VM. Would like to be able to increment an IP Address while in a loop
ipv4_address    = "${cidrhost(var.vsphere_vm_int1_network_address, var.vsphere_vm_int1_network_address_start + count.index)}"
s

stocky-spoon-28903

06/13/2019, 7:28 PM
You can use this implementation for cidr_host: https://gist.github.com/jen20/3be302930684a555687998a0aef2e050
👍 1
c

cuddly-barista-79466

06/13/2019, 10:36 PM
Thanks