Resource creation works fine in all cases. However, when trying to update these resources (in my specific case, due to a change in description), I get the following error for each updated resource:
│ Error: Error getting custom fields for updating: Error from API (404): No custom fields defined
│
│ with module.autobuild.phpipam_address.ipv6["..."],
│ on autobuild/ipam.tf line 73, in resource "phpipam_address" "ipv6":
│ 73: resource "phpipam_address" "ipv6" {
Despite the error, the IP address record is actually updated in phpIPAM. However I still need to re-run Terraform for the state to update.
I have tried adding an empty custom_fields entry (as mentioned in #73), but that had no effect.
I am managing a bunch of addresses in a phpIPAM instance that has no custom fields defined, as the screenshot below shows.
The resource definitions are pretty straightforward:
Resource creation works fine in all cases. However, when trying to update these resources (in my specific case, due to a change in description), I get the following error for each updated resource:
Despite the error, the IP address record is actually updated in phpIPAM. However I still need to re-run Terraform for the state to update.
I have tried adding an empty
custom_fields
entry (as mentioned in #73), but that had no effect.