Skip to content

How to use with multiple resources / VMs #7

@rsjorslev

Description

@rsjorslev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions