How would I use this to get first free address for a resource im provisioning eg. 5 times?
My use case is provisioning 5 vSphere VMs cloned from a template and get 5 free addresses.
Im currently doing this:
resource "vsphere_virtual_machine" "vm" {
count = 3
...
and I have tried:
resource "phpipam_address" "ip" {
count = 3
...
but that results in 3 resources with the same IP from phpIPAM.
thanks