1. Packages
  2. HashiCorp Nomad
Nomad v2.1.0 published on Wednesday, Jan 31, 2024 by Pulumi

HashiCorp Nomad

nomad logo
Nomad v2.1.0 published on Wednesday, Jan 31, 2024 by Pulumi

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

    Example

    const nomad = require("@pulumi/nomad")
    
    const ns = new nomad.Namespace("test-ns-ts");
    
    import * as nomad from "@pulumi/nomad";
    
    const ns = new nomad.Namespace("test-ns-ts");
    
    import pulumi
    import pulumi_nomad as nomad
    
    ns = nomad.Namespace("test-ns-py")
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	nomad "github.com/pulumi/pulumi-nomad/sdk/go/nomad"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
            _, err := nomad.NewNamespace(ctx, "test-ns-go", nil)
    		if err != nil {
    			return err
    		}
    
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Threading.Tasks;
    using Pulumi;
    using Pulumi.Nomad;
    
    class Program
    {
        static Task Main() =>
            Deployment.Run(() => {
                var ns = new Nomad.Namespace("test-ns-cs", new Nomad.NamespaceArgs{});
            });
    }
    
    nomad logo
    Nomad v2.1.0 published on Wednesday, Jan 31, 2024 by Pulumi