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

RabbitMQ

v3.2.0 published on Thursday, Nov 11, 2021 by Pulumi

The Pulumi RabbitMQ provider uses the RabbitMQ SDK to manage and provision resources.

Installation

The RabbitMQ provider is available as a package in all Pulumi languages:

Configuring Credentials

Pulumi relies on the RabbitMQ SDK to authenticate requests from your computer to RabbitMQ. Your credentials are never sent to pulumi.com. The Pulumi RabbitMQ Provider needs to be configured with RabbitMQ credentials before it can be used to create resources.

Once the credetials are obtained, there are two ways to communicate your authorization tokens to Pulumi:

  1. Set the environment variables RABBITMQ_ENDPOINT, RABBITMQ_USERNAME and RABBITMQ_PASSWORD:

    $ export RABBITMQ_ENDPOINT=XXXXXXXXXXXXXX
    $ export RABBITMQ_USERNAME=YYYYYYYYYYYYYY
    $ export RABBITMQ_PASSWORD=ZZZZZZZZZZZZZZ
    
  2. Set them using configuration, if you prefer that they be stored alongside your Pulumi stack for easy multi-user access:

    $ pulumi config set rabbitmq:endpoint XXXXXXXXXXXXXX
    $ pulumi config set rabbitmq:username YYYYYYYYYYYYYY --secret
    $ pulumi config set rabbitmq:password ZZZZZZZZZZZZZZ --secret
    

Remember to pass --secret when setting rabbitmq:username and rabbitmq:password so that they are properly encrypted. The complete list of configuration parameters is in the RabbitMQ provider README.