Nomad v2.3.2 published on Wednesday, Aug 14, 2024 by Pulumi
HashiCorp Nomad
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{});
});
}