Linode

The Linode provider for Pulumi can be used to provision any of the cloud resources available in Linode. The Linode provider must be configured with credentials to deploy and update resources in Linode.

See the full API documentation for complete details of the available Linode provider APIs.

Setup

The Linode provider supports several options for providing access to Linode credentials. See Linode setup page for details.

Example

const linode = require("@pulumi/linode")
const domain = new linode.Domain("my-domain", {
  domain: "foobar.example",
  soaEmail: "[email protected]",
  type: "master",
});
import * as linode from "@pulumi/linode";
const domain = new linode.Domain("my-domain", {
  domain: "foobar.example",
  soaEmail: "[email protected]",
  type: "master",
});
import pulumi_linode as linode
domain = linode.Domain("my-domain",
  domain='foobar.example',
  soa_email='[email protected]',
  type='master',
)
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	linode "github.com/pulumi/pulumi-linode/sdk/v3/go/linode"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		domain, err := linode.NewDomain(ctx, "test", &linode.DomainArgs{
			Domain:   pulumi.String("foobar.example"),
			SoaEmail: pulumi.String("[email protected]"),
			Type:     pulumi.String("master"),
		})
		if err != nil {
			return err
		}

		return nil
	})
}

using System.Threading.Tasks;
using Pulumi;
using Pulumi.Linode;

class Program
{
    static Task Main() =>
        Deployment.Run(() => {
            var domain = new Linode.Domain("my-domain", new Linode.DomainArgs
            {
                Domain = "foobar.example",
                SoaEmail = "[email protected]",
                Type = "master",
            });
        });
}

Libraries

The following packages are available in packager managers:

The Linode provider is open source and available in the pulumi/pulumi-linode repo.