1. Packages
  2. Upstash
  3. Installation & Configuration
Upstash v0.3.14 published on Friday, Aug 9, 2024 by Upstash

Upstash: Installation & Configuration

upstash logo
Upstash v0.3.14 published on Friday, Aug 9, 2024 by Upstash

    Installation

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

    Provider Binary

    The Upstash provider can be installed using the pulumi plugin command.

    pulumi plugin install resource upstash --server https://github.com/upstash/pulumi-upstash/releases/download/v0.2.0
    

    Setup

    To provision resources with the Pulumi Upstash provider, you need to have Upstash credentials. Upstash maintains documentation on how to create API keys here.

    Set environment variables

    Once you have provisioned these credentials, you can set environment variables to provision resources in Upstash:

    $ export UPSTASH_EMAIL=<UPSTASH_EMAIL>
    $ export UPSTASH_API_KEY=<UPSTASH_API_KEY>
    
    $ export UPSTASH_EMAIL=<UPSTASH_EMAIL>
    $ export UPSTASH_API_KEY=<UPSTASH_API_KEY>
    
    > $env:UPSTASH_EMAIL = "<UPSTASH_EMAIL>"
    > $env:UPSTASH_API_KEY = "<UPSTASH_API_KEY>"
    

    Configuration Options

    Use pulumi config set upstash:<option> or pass options to the constructor of new upstash.Provider.

    OptionRequired/OptionalDescription
    emailRequiredUpstash user email
    apiKeyRequiredUpstash Api key
    upstash logo
    Upstash v0.3.14 published on Friday, Aug 9, 2024 by Upstash