@pulumi/tailscale

A Pulumi package for creating and managing xyz cloud resources.

Usage no npm install needed!

<script type="module">
  import pulumiTailscale from 'https://cdn.skypack.dev/@pulumi/tailscale';
</script>

README

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.

Reference

For further information, please visit the Tailscale provider docs or for detailed reference documentation, please visit the API docs.