Is your feature request related to a problem? Please describe.
Currently, the tailscale_devices outputs as a list of objects, which makes it hard to use. My goal it to be able to add DNS records from IP address of the private network, which is harder to do in the current state.
Describe the solution you'd like
It would be great if tailscale_devices (or a new datasource for backwards compatibility) was a map that had the same information but used the hostname as a key value, so it could be looked up.
Additional context
I am happy to work on this feature if it decided it should be added.
Is your feature request related to a problem? Please describe.
Currently, the
tailscale_devices
outputs as a list of objects, which makes it hard to use. My goal it to be able to add DNS records from IP address of the private network, which is harder to do in the current state.Describe the solution you'd like
It would be great if
tailscale_devices
(or a new datasource for backwards compatibility) was a map that had the same information but used the hostname as a key value, so it could be looked up.Additional context
I am happy to work on this feature if it decided it should be added.