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

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

Example

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

const consumer = new kong.Consumer("my-consumer", {
  username: "my-username-1",
  customId: "123"
});
import * as kong from "@pulumi/kong";

const consumer = new kong.Consumer("my-consumer", {
  username: "my-username-1",
  customId: "123"
});
import pulumi_kong as kong

consumer = kong.Consumer("my-consumer",
  username="my-username-1",
  custom_id="123")
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	kong "github.com/pulumi/pulumi-kong/sdk/v4/go/kong"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		consumer, err := kong.NewConsumer(ctx, "test-route", &kong.ConsumerArgs{
            CustomId: pulumi.String("123"),
            Username: pulumi.String("my-username-1"),
		})
		if err != nil {
			return err
		}

		return nil
	})
}

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

class Program
{
    static Task Main() =>
        Deployment.Run(() => {
            var consumer = new Kong.Consumer("consumer", new Kong.ConsumerArgs
            {
                CustomId = "123",
                Username = "my-username-1",
            });
        });
}