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-1.0.0a1776322665.tar.gz (47.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pulumi_tailscale-1.0.0a1776322665-py3-none-any.whl (79.4 kB view details)

Uploaded Python 3

File details

Details for the file pulumi_tailscale-1.0.0a1776322665.tar.gz.

File metadata

File hashes

Hashes for pulumi_tailscale-1.0.0a1776322665.tar.gz
Algorithm Hash digest
SHA256 16786a9d6715c2e1ec4032f3399ebf7b1584a2ea1ffc698c8ae20ff2d8419149
MD5 73829c2ec2fdb48e545d95df7109557c
BLAKE2b-256 f95a600374d1030adba3a5bb9417281ecb3bc8a86724c3a046e8756cfa5788ff

See more details on using hashes here.

File details

Details for the file pulumi_tailscale-1.0.0a1776322665-py3-none-any.whl.

File metadata

File hashes

Hashes for pulumi_tailscale-1.0.0a1776322665-py3-none-any.whl
Algorithm Hash digest
SHA256 93e398b12b9bfc17ff99d276ec99cdb04f3b8441e673a1759d73e4530b7cb417
MD5 4ecd7200c4b4a99c26b79ff4d2f98686
BLAKE2b-256 03e0f45565c3cca9be0b52ccd36c492ac254953d296523bc4495a1691d959aa2

See more details on using hashes here.

Supported by

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