2 min read

Announcing Upstash Pulumi Provider

Burak Yılmaz

Site Reliability Engineer @Upstash

Creating your infrastructure as code with your favorite languages
Future Work
Closing Words

Upon request from our community, we have developed Pulumi Provider for Upstash Redis and Kafka, which is now publicly available.

Pulumi is an automated provisioning tool similar to Terraform but it leverages the functionalities of modern programming languages such as TypeScript, Go and Python. This way, you can create conditional resources, multiple resources via loops and so on, enabling for more dynamic and maintainable IAC.

Creating your infrastructure as code with your favorite languages

Create pulumi template

pulumi new <your_language>

TypeScript / JavaScript

const createdDb = new upstash.RedisDatabase("mydb", {
    databaseName: "pulumi-ts-db",
    region: "eu-west-1",
    tls: true


createdCluster, _ := upstash.NewKafkaCluster(ctx, "exampleCluster", &upstash.KafkaClusterArgs{
    ClusterName: pulumi.String("pulumi-go-cluster"),
    Multizone:   pulumi.Bool(false),
    Region:      pulumi.String("eu-west-1"),


created_team = upstash.Team(
    team_name="pulumi team",
        "<owner_email>": "owner",
        "<second_email>": "admin"

CRUD your resources: pulumi up


Future Work

We want to keep the developer experience easy and intuitive. Hence, we will keep our tools up-to-date with our services. As an example, QStash resources will soon be added to both Terraform and Pulumi providers.

Closing Words

For resource creations with different languages, you can have a look at our repo.

You can share your feedback via Twitter or Discord, which will be greatly appreciated.

© 2022 Upstash, Inc. Based in California.

* Redis is a trademark of Redis Labs Ltd. Any rights therein are reserved to Redis Ltd. Any use by Upstash is for referential purposes only and does not indicate any sponsorship, endorsement or affiliation between Redis and Upstash.

** Cloudflare, the Cloudflare logo, and Cloudflare Workers are trademarks and/or registered trademarks of Cloudflare, Inc. in the United States and other jurisdictions.