equinix-metal logo
Equinix Metal v3.2.1, Dec 30 21

Equinix Metal

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

Example

import * as metal from "@pulumi/equinix-metal";

const project = new metal.Project("my-project", {
  name: "DevelopmentEnvironment"
});
import * as metal from "@pulumi/equinix-metal";

const project = new metal.Project("my-project", {
  name: "DevelopmentEnvironment"
});
import pulumi_equinix_metal as metal
project = metal.Project("my-project",
  name='DevelopmentEnvironment'
)
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	metal "github.com/pulumi/pulumi-equinix-metal/sdk/v2/go/equinix"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := metal.NewProject(ctx, "test", &metal.ProjectArgs{
			Name: pulumi.String("DevelopmentEnvironment"),
		})
		if err != nil {
			return err
		}

		return nil
	})
}
using System.Threading.Tasks;
using Pulumi;
using Pulumi.EquinixMetal;

class Program
{
    static Task Main() =>
        Deployment.Run(() => {
            var project = new EquinixMetal.Project("my-project", new EquinixMetal.ProjectArgs
            {
                Name = "DevelopmentEnvironment"
            });
        });
}