smutel / terraform-provider-netbox

Terraform provider for Netbox
ISC License
58 stars 19 forks source link

Do not recreate the IP address when primary_ip4 field has changed #151

Closed smutel closed 1 year ago

smutel commented 1 year ago

Summary

Do not recreate the IP address when primary_ip4 field has changed

Example

Usage

  1. Create an IP address with primary_ip4 field to true
  2. Update the code by setting primary_ip4 to false
  3. Terraform wants to recreate the IP address without this change