Skip to content

Resource tailscale_oauth_client - Importing existing OAuth clients into terraform state #515

Closed
@quatauta

Description

@quatauta

Since v0.20.0, the provider supports managing Tailscale OAuth clients via Terraform, which is awesome.

However, it seems like importing existing OAuth clients into Terraform state isn't supported yet. In our Tailnet (we’re on the Premium plan), we already have 42 OAuth clients that were created before v0.20.0. It would be extremely helpful if we could bring those existing clients under Terraform management without having to recreate them manually.

Describe the solution you'd like

Support for importing existing Tailscale OAuth clients using terraform import and/or import blocks, so they can be managed as tailscale_oauth_client resources.

Being able to do this would make our setup more consistent, safer, and easier to manage going forward.

(Thank you for the great work on the Tailscale Terraform provider! It's been a huge help in automating and managing our Tailscale setup.)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions