Upstash v0.3.14 published on Friday, Aug 9, 2024 by Upstash
Upstash: Installation & Configuration
Installation
The Pulumi Upstash provider is available as a package in all Pulumi languages:
- JavaScript/TypeScript:
@upstash/pulumi
- Go:
github.com/upstash/pulumi-upstash/sdk/go/upstash
- Python:
upstash_pulumi
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
.
Option | Required/Optional | Description |
---|---|---|
email | Required | Upstash user email |
apiKey | Required | Upstash Api key |