https://github.com/pulumi/pulumi-tailscale
https://github.com/pulumi/pulumi-tailscale
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pulumi/pulumi-tailscale
- Owner: pulumi
- License: apache-2.0
- Created: 2021-10-28T14:04:15.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-03-27T06:38:29.000Z (2 months ago)
- Last Synced: 2025-03-30T06:37:17.309Z (2 months ago)
- Language: Makefile
- Size: 3.07 MB
- Stars: 18
- Watchers: 19
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG_OLD.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE-OF-CONDUCT.md
Awesome Lists containing this project
README
[](https://github.com/pulumi/pulumi-tailscale/actions)
[](https://slack.pulumi.com)
[](https://www.npmjs.com/package/@pulumi/tailscale)
[](https://pypi.org/project/pulumi-tailscale)
[](https://badge.fury.io/nu/pulumi.tailscale)
[](https://pkg.go.dev/github.com/pulumi/pulumi-tailscale/sdk)
[](https://github.com/pulumi/pulumi-tailscale/blob/master/LICENSE)# Tailscale Resource Provider
The Tailscale Resource Provider lets you manage [Tailscale](https://tailscale.com/) resources.
## Installing
This package is available in many languages in the standard packaging formats.
### Node.js (Java/TypeScript)
To use from JavaScript or TypeScript in Node.js, install using either `npm`:
$ npm install @pulumi/tailscale
or `yarn`:
$ yarn add @pulumi/tailscale
### Python
To use from Python, install using `pip`:
$ pip install pulumi_tailscale
### Go
To use from Go, use `go get` to grab the latest version of the library
$ go get github.com/pulumi/pulumi-tailscale/sdk
### .NET
To use from .NET, install using `dotnet add package`:
$ dotnet add package Pulumi.Tailscale
## Configuration
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_API_KEY` environment variable.
- `tailscale:tailnet` - (Required) Tailscale tailnet to manage resources for. It must be provided, but it can also be
sourced from the `TAILSCALE_TAILNET` variable. 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.## Reference
For further information, please visit [the Tailscale provider docs](https://www.pulumi.com/registry/packages/tailscale)
or for detailed reference documentation, please visit [the API docs](https://www.pulumi.com/registry/packages/tailscale/api-docs/).