With IP address allocation resources, you can allocate IPv4 and/or IPv6 addresses from a specified network by creating a host record. The allocated IP addresses are then assigned to the interface of an instance created in a cloud environment, after which a VM is created. If required, you may integrate the VM with the corresponding host record in NIOS as described in IP Address Association.
The resources available in the current version of Infoblox IPAM Plug-In for VMware are:
infoblox_ip_allocation: To allocate IPv4 and/or IPv6 addresses
infoblox_ipv4_allocation: To allocate IPv4 addresses only
infoblox_ipv6_allocation: To allocate IPv6 addresses only
Note
Infoblox strongly recommends that you use the infoblox_ip_allocation resource for performing create, update, and delete operations. The
infoblox_ipv4_allocation
andinfoblox_ipv6_allocation
resources have been deprecated and they will be removed in an upcoming release.When allocating multiple IP addresses by using the
infoblox_ip_allocation
resource, you are advised not to use theinfoblox_ipv4_allocation
orinfoblox_ipv6_allocation
resource in the same .tf file.To upgrade Infoblox IPAM Plug-In for Terraform version 2.0.1 or 2.1.0 to version 2.3.0, perform the following steps:
Remove the
mac_addr
,duid
, andenable_dhcp
fields from theinfoblox_ipv4_allocation
andinfoblox_ipv6_allocation
resource blocks in the Terraform configuration file as these fields are no longer supported. Resourcesinfoblox_ipv4_association
andinfoblox_ipv6_association
continue to support these fields.Upgrade the plug-in as described in the Terraform documentation.
Run the
terraform apply
command.