1. Packages
  2. RabbitMQ
  3. Installation & Configuration
RabbitMQ v3.3.2 published on Thursday, Mar 21, 2024 by Pulumi

RabbitMQ: Installation & Configuration

rabbitmq logo
RabbitMQ v3.3.2 published on Thursday, Mar 21, 2024 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 credentials 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.

    rabbitmq logo
    RabbitMQ v3.3.2 published on Thursday, Mar 21, 2024 by Pulumi