Closed reegnz closed 1 month ago
I have opened a PR for some of the resources.
I did not add imports functionality for tailscale_tailnet_key
, tailscale_posture_integration
and tailscale_logstream_configuration
because I am not using those features, and don't have an opportunity to test the changes.
Is your feature request related to a problem? Please describe. I'm managing my personal tailscale configuration with terraform. For ease of use it'd be preferable to support imports for the resources I am using, so I can get started configuring on the UI, then bring over the config to terraform and keep managing the resources. For that import would be preferable. Without imports there is no clear diff between the existing config and the desired one made in terraform.
Describe the solution you'd like
The resources I want to be able to import but lack import functionality:
Can be imported with any random id (only a single resource exists for it in the tailscale api):
Can be imported with an existing device id:
IMHO allowing straight pass through id for the import is sufficient for all of the above resources.
Additional context There are likely some other resources that also lack import support right now.