Viewing docs for Tailscale v0.27.1
published on Tuesday, Apr 21, 2026 by Pulumi
published on Tuesday, Apr 21, 2026 by Pulumi
Tailscale Provider: Installation & Configuration
I want to use the Pulumi Tailscale package (tailscale) in my project.
## Provider details
- Package: tailscale
- Version: v0.27.1
- Publisher: Pulumi
- Source: pulumi
- Repository: https://github.com/pulumi/pulumi-tailscale
## Documentation
The Pulumi Cloud Registry API serves canonical, up-to-date docs for this package — including private packages and every published version. Send the "Accept: text/markdown" header for clean readable content, or "application/json" for structured data.
Start at the navigation tree, which cross-links to the readme, installation guide, and per-resource docs URL template:
- https://api.pulumi.com/api/registry/packages/pulumi/pulumi/tailscale/versions/latest/nav
Returns a summary by default. The full tree can be hundreds of kB for large providers, so prefer targeted search: append "?q=<query>&depth=full" to filter by resource/function title or token (for example "?q=bucket&depth=full"). Only request the full nav without a query if you actually need to enumerate every resource.
Other endpoints:
- Overview and getting started: https://api.pulumi.com/api/registry/packages/pulumi/pulumi/tailscale/versions/latest/readme
- Installation and configuration: https://api.pulumi.com/api/registry/packages/pulumi/pulumi/tailscale/versions/latest/installation
- Per-resource/function docs: https://api.pulumi.com/api/registry/packages/pulumi/pulumi/tailscale/versions/latest/docs/{token}?lang={lang}
Replace {token} with the percent-encoded token from the nav response (for example aws:s3/bucket:Bucket).
Replace {lang} with typescript, python, go, csharp, java, or yaml.
Fetch the installation endpoint above for the correct setup steps — install instructions vary between native providers, bridged Terraform providers, and component packages.
Help me get started using this provider. Show me a complete Pulumi program that provisions a common resource, including all necessary configuration and imports.
Viewing docs for Tailscale v0.27.1
published on Tuesday, Apr 21, 2026 by Pulumi
published on Tuesday, Apr 21, 2026 by Pulumi
The Pulumi Tailscale provider uses the Tailscale SDK to manage resources.
Installation
The Tailscale provider is available as a package in all Pulumi languages:
- JavaScript/TypeScript:
@pulumi/tailscale - Python:
pulumi-tailscale - Go:
github.com/pulumi/pulumi-tailscale/sdk/go/tailscale - .NET:
Pulumi.Tailscale - Java:
com.pulumi/tailscale
Configuring The Provider
Pulumi relies on the Tailscale SDK to authenticate requests from your computer to Tailscale. Your credentials are never sent to pulumi.com. Once the credentials are obtained, there are two ways to communicate your configuration parameters to Pulumi:
Set the environment variable
TAILSCALE_API_KEYandTAILSCALE_TAILNET:$ export TAILSCALE_API_KEY=XXXXXX $ export TAILSCALE_TAILNET=YYYYYYWith Oauth Client (conflicts with
TAILSCALE_API_KEY):$ export OAUTH_CLIENT_SECRET=XXXXXX $ export OAUTH_CLIENT_ID=XXXXXXIf you prefer that they be stored alongside your Pulumi stack for easy multi-user access:
$ pulumi config set tailscale:apiKey XXXXXX --secret $ pulumi config set tailscale:tailnet YYYYYYWith Oauth Client (conflicts with
TAILSCALE_API_KEY):$ pulumi config set tailscale:oauthClientSecret XXXXXX --secret $ pulumi config set tailscale:oauthClientId XXXXXX --secret
The complete list of configuration parameters is in the Tailscale provider README.
Viewing docs for Tailscale v0.27.1
published on Tuesday, Apr 21, 2026 by Pulumi
published on Tuesday, Apr 21, 2026 by Pulumi
