Is your feature request related to a problem? Please describe.
I want to create CNAME records on my own domain that point to devices in my Tailnet: device.me.com -> device.example.ts.net
Given an EC2 resource, I can define the tailscale_device like so:
data "tailscale_device" "example" {
hostname = split(".", aws_instance.example.private_dns)[0]
}
But this data source does not export an attribute that includes the fully-qualified Tailnet device name.
Describe the solution you'd like
The data source should always populate the name attribute, even if it is not provided explicitly.