Skip to content

Commit 6e87ef7

Browse files
committed
enh: Destroy ip address when object_id is changing
1 parent edca694 commit 6e87ef7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

netbox/resource_netbox_ipam_ip_addresses.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ func resourceNetboxIpamIPAddresses() *schema.Resource {
4444
"object_id": {
4545
Type: schema.TypeInt,
4646
Optional: true,
47+
ForceNew: true,
4748
},
4849
"object_type": {
4950
Type: schema.TypeString,

0 commit comments

Comments
 (0)