---
title: "Upgrading Infoblox IPAM Plug-In for Terraform"
canonical: "https://docs.infoblox.com/space/ipamdriverterraform/593692232/Upgrading%20Infoblox%20IPAM%20Plug-In%20for%20Terraform"
format: markdown
---
The Infoblox IPAM Plug-In Version 2.7.0 for Terraform is a major release that is currently available in the Terraform portal. If you are upgrading from a prior version of the plug-in to a latest 2.x.x version, refer to *[Prerequisites](https://infoblox-docs.atlassian.net/wiki/pages/createpage.action?spaceKey=ipamdriverterraform&title=Installing%20Infoblox%20IPAM%20Plug-In%20Version%20for%20Terraform&linkCreation=true&fromPageId=593692232)* for the list of compatible software that must be installed corresponding to the version of the plug-in, and perform the following:

*Action to take When Upgrading IPAM Plug-In for Terraform*

| **From Version** | **To Version** | **Do this** |
| --- | --- | --- |
| Any 2.x.x version | 2.6.0 or later | Ensure that there is no drift state in Terraform.<br>**Note**: If you are upgrading from a version prior to 2.3.0 to either 2.3.0 or later, resources `infoblox_ipv4_allocation`, `infoblox_ipv6_allocation`, `nfoblox_ipv4_association`, and `infoblox_ipv6_association` will not be supported. For more information, see *[IP Address Allocation](https://infoblox-docs.atlassian.net/wiki/spaces/ipamdriverterraform/pages/53154100)* and *[IP Address Association](https://infoblox-docs.atlassian.net/wiki/spaces/ipamdriverterraform/pages/53154100)*. |
| 1.1.1 | 2.6.0 | Follow the upgrade path:<br>1. Upgrade to a 2.x.x version that is prior to 2.6.0.
2. Upgrade to 2.6.0 or later. |
| 1.1.1 | Any 2.x.x version | Do one of the following:<br>- Any 2.x.x version: Run the `terraform destroy` command to clean up the resources created through Terraform.
- Version 2.2.0 or later: Remove the terraform.tfstate file and use the import functionality to import the existing objects from NIOS to Terraform. |

After upgrading the plug-in to version 2.6.0 or later: 

- Run the `terraform apply` command to update all resources with Terraform Internal ID. For more information on Terraform Internal ID, see *[Management of Plug-In Operations with Terraform Internal ID](https://infoblox-docs.atlassian.net/wiki/spaces/ipamdriverterraform/pages/593692260)*.
- If the number of resources in the .tfstate file is large, the first `terraform apply` operation executed after the upgrade may take a long time as the plug-in has to assign the Terraform Internal ID extensible attribute to all resources in the .tfstate file. To update specific resources in Terraform use the `-target` option with `terraform apply` as follows:  
Syntax: `terraform apply -target=<resource_type>.<resource_name>`  
Example: `terraform apply -target=infoblox_a_record.arec`  
For more information about `-target`, refer to *[Resource Targeting](https://developer.hashicorp.com/terraform/cli/commands/plan#resource-targeting)*.

For instructions related to the installation of the plug-in, see *[Installing Infoblox IPAM Plug-In for Terraform](https://infoblox-docs.atlassian.net/wiki/pages/createpage.action?spaceKey=ipamdriverterraform&title=Installing%20Infoblox%20IPAM%20Plug-In%20Version%20for%20Terraform&linkCreation=true&fromPageId=593692232)*.