Skip to content

Feature Request: Map output of device datasource #352

@Cyb3r-Jak3

Description

@Cyb3r-Jak3

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    frNew feature or requestterraform

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions