SumoLogic

v0.10.0 published on Wednesday, Sep 21, 2022 by Pulumi

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

Installation

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

Configuring Credentials

Pulumi relies on the SumoLogic SDK to authenticate requests from your computer to SumoLogic. Your credentials are never sent to pulumi.com. The Pulumi SumoLogic Provider needs to be configured with SumoLogic 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 for SUMOLOGIC_ACCESSID, SUMOLOGIC_ACCESSKEY and SUMOLOGIC_ENVIRONMENT:

    $ export SUMOLOGIC_ACCESSID=XXXXXXXXXXXXXX
    $ export SUMOLOGIC_ACCESSKEY=YYYYYYYYYYYYYY
    $ export SUMOLOGIC_ENVIRONMENT=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 sumologic:accessId XXXXXXXXXXXXXX --secret
    $ pulumi config set sumologic:accessKey YYYYYYYYYYYYYY --secret
    $ pulumi config set sumologic:environment ZZZZZZZZZZZZZZ
    

Remember to pass --secret when setting sumologic:accessId and sumologic:accessKey so that they are properly encrypted. The complete list of configuration parameters is in the SumoLogic provider README.