rabbitmq logo
RabbitMQ v3.2.0, Nov 11 21

RabbitMQ

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

Example

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

const user = new rabbitmq.User("user", {
  password: "MyPassword1234!"
});
import * as rabbitmq from "@pulumi/rabbitmq";

const user = new rabbitmq.User("user", {
  password: "MyPassword1234!"
});
import pulumi_rabbitmq as rabbitmq

user = rabbitmq.User("user",
  password="MyPassword1234!"
)
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	rabbitmq "github.com/pulumi/pulumi-rabbitmq/sdk/v3/go/rabbitmq"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		user, err := rabbitmq.NewUser(ctx, "user", &rabbitmq.UserArgs{
			Password: pulumi.String("MyPassword1234!"),
		})
		if err != nil {
			return err
		}

		return nil
	})
}
using System.Collections.Generic;
using System.Threading.Tasks;
using Pulumi;
using Pulumi.Rabbitmq;

class Program
{
    static Task Main() =>
        Deployment.Run(() => {
            var user = new User("user", new UserArgs
            {
                Password = "MyPassword1234!"
            });
        });
}