1. Packages
  2. Opsgenie
  3. Installation & Configuration
Opsgenie v1.3.6 published on Tuesday, Feb 27, 2024 by Pulumi

Opsgenie: Installation & Configuration

opsgenie logo
Opsgenie v1.3.6 published on Tuesday, Feb 27, 2024 by Pulumi

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

    Installation

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

    Configuring Credentials

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

    In order to communicate your configuration details to Pulumi:

    1. Set the environment variables OPSGENIE_API_KEY and (an optional) OPSGENIE_API_URL:

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

      $ pulumi config set opsgenie:apiKey XXXXXXXXXXXXXX --secret
      $ pulumi config set opsgenie:apiUrl YYYYYYYYYYYYYY
      

    If you are going to set opsgenie:apiKey, please remember to pass --secret so that it is properly encrypted. The complete list of configuration parameters is in the Opsgenie provider README.

    opsgenie logo
    Opsgenie v1.3.6 published on Tuesday, Feb 27, 2024 by Pulumi