Closed pidreher closed 2 months ago
should've searched the issues I guess:
closing as duplicate, also I'm dumb and already commented on this last year: https://github.com/e-breuninger/terraform-provider-netbox/pull/443#issuecomment-1719033256
sorry
Hi,
when trying to get ip addresses I get this error:
Error: ip_addresses.0.custom_fields.dnserror: '' expected type 'string', got unconvertible type 'bool', value: 'false'
I got at least one custom field with bool type. Seems like either the return from the api needs to be explicitly converted into a map of strings or it needs to accept other data types as well.
https://github.com/e-breuninger/terraform-provider-netbox/blob/704c7fce103b0323574078459d3481410615ebf5/netbox/data_source_netbox_ip_addresses.go#L204
provider version: 3.8.5 netbox version: v3.7.7