The Tailscale Resource Provider lets you manage Tailscale resources.
This package is available in many languages in the standard packaging formats.
$ npm install @pulumi/tailscale
$ yarn add @pulumi/tailscale
To use from Python, install using
$ pip install pulumi_tailscale
To use from Go, use
go get to grab the latest version of the library
$ go get github.com/pulumi/pulumi-tailscale/sdk
To use from .NET, install using
dotnet add package:
$ dotnet add package Pulumi.Tailscale
The following configuration points are available:
tailscale:apiKey- (Required) API key to authenticate with the Tailscale API. It must be provided, but it can also be sourced from the
tailscale:tailnet- (Required) Tailscale tailnet to manage resources for. It must be provided, but it can also be sourced from the
TAILSCALE_TAILNETvariable. A tailnet is the name of your Tailscale network. You can find it in the top left corner of the Admin Panel beside the Tailscale logo.
tailscale:oauthClientId- The OAuth application's ID when using OAuth client credentials. Can be set via the OAUTH_CLIENT_ID environment variable. Both 'oauthClientId' and 'oauthClientSecret' must be set. Conflicts with 'apiKey'.
oauthClientSecret- The OAuth application's secret when using OAuth client credentials. Can be set via the OAUTH_CLIENT_SECRET environment variable. Both 'oauthClientId' and 'oauthClientSecret' must be set. Conflicts with 'apiKey'.
scopes- The OAuth 2.0 scopes to request when for the access token generated using the supplied OAuth client credentials. See https://tailscale.com/kb/1215/oauth-clients/#scopes for available scopes. Only valid when both 'oauthClientId' and 'oauthClientSecret' are set.