Skip to main content

A Pulumi package for creating and managing Tailscale cloud resources.

Project description

Actions Status Slack NPM version Python version NuGet version PkgGoDev License

Tailscale Resource Provider

The Tailscale Resource Provider lets you manage Tailscale 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 or for detailed reference documentation, please visit the API docs.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pulumi_tailscale-0.13.1a1693982736.tar.gz (17.9 kB view details)

Uploaded Source

File details

Details for the file pulumi_tailscale-0.13.1a1693982736.tar.gz.

File metadata

File hashes

Hashes for pulumi_tailscale-0.13.1a1693982736.tar.gz
Algorithm Hash digest
SHA256 edcc359e483b8b3e313220e7ffa410a100537742bb395813af43799ece0dd40c
MD5 125a23c62a0e70aefdb3220ee1a8194c
BLAKE2b-256 8112c7432428ee917417d5793fdc2e70a7c033cc4b3ac75f62769b62b34676d0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page