Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

Tailscale

v0.3.0 published on Monday, Nov 22, 2021 by Pulumi

The Tailscale provider for Pulumi can be used to provision any of the resources available in Tailscale.

Example

const tailscale = require("@pulumi/tailscale")

const nameservers = new tailscale.DnsNameservers("ts-demo", {
    nameservers: ["1.1.1.1"]
});
import * as tailscale from "@pulumi/tailscale";

const nameservers = new tailscale.DnsNameservers("ts-demo", {
    nameservers: ["1.1.1.1"]
});
import json
import pulumi_tailscale as tailscale

acl = tailscale.Acl("demo-py",
                    acl=json.dumps({
                        "ACLs": [{
                            "Action": "accept",
                            "User": ["*"],
                            "Ports": ["*:*"],
                        }]
                    }))
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	tailscale "github.com/pulumi/pulumi-tailscale/sdk/go/tailscale"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ns, err := tailscale.NewDnsNameservers(ctx, "sample-record", &tailscale.DnsNameserversArgs{
			NameServers: pulumi.StringArray{
                pulumi.String("1.1.1.1"),
			}.
		})
		if err != nil {
			return err
		}

		return nil
	})
}

using System.Collections.Generic;
using System.Threading.Tasks;
using Pulumi;
using Pulumi.Tailscale;

class Program
{
    static Task Main() =>
        Deployment.Run(() => {
            var sampleNameservers = new Tailscale.DnsNameservers("sampleNameservers", new Tailscale.DnsNameserversArgs
            {
                Nameservers =
                {
                    "1.1.1.1",
                },
            });
        });
}