Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for terraform import #125

Closed
wants to merge 1 commit into from
Closed

Add support for terraform import #125

wants to merge 1 commit into from

Conversation

davidsbond
Copy link
Contributor

This commit is an initial attempt to set up support for the terraform import
command. It includes the default fallthrough importer for global resources
such as the ACL, DNS preferences etc.

For device-specific resources, the name of the device can be provided which
will be resolved to a device identifier. The device identifier is then
added to the resource so that a refresh will include it.

Signed-off-by: David Bond davidsbond93@gmail.com

This commit is an initial attempt to set up support for the `terraform import`
command. It includes the default fallthrough importer for global resources
such as the ACL, DNS preferences etc.

For device-specific resources, the name of the device can be provided which
will be resolved to a device identifier. The device identifier is then
added to the resource so that a refresh will include it.

Signed-off-by: David Bond <davidsbond93@gmail.com>
@davidsbond davidsbond self-assigned this Jun 27, 2022
@jerius
Copy link

jerius commented Sep 18, 2023

I'd love to see this make it into main! Using this module with a pre-existing Tailscale deployment today means a wipe and rewrite of configuration, which is a nonstarter for many folks.

@dsymonds
Copy link
Contributor

Hey @davidsbond @clstokes, what's preventing moving forward with this PR? It's been sitting here for over a year, it seems fine, and I was just about to sit down and write almost exactly the same PR!

@dsymonds
Copy link
Contributor

It looks like it has merge conflicts; do you want me to take it over and bring it up to date?

@davidsbond
Copy link
Contributor Author

Apologies, I just haven't really had a chance to sit down and continue with it since transferring the repository over to tailscale. Feel free to take it over or resubmit your own PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants