
Research
/Security News
Popular Tinycolor npm Package Compromised in Supply Chain Attack Affecting 40+ Packages
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
@upstash/pulumi
Advanced tools
The Upstash Pulumi Provider lets you manage Upstash Redis & QStash & Vector resources programatically.
This package is available for several languages/platforms:
To use from JavaScript or TypeScript in Node.js, install using either npm
:
npm install @upstash/pulumi
or yarn
:
yarn add @upstash/pulumi
To use from Python, install using pip
:
pip install upstash_pulumi
To use from Go, use go get
to grab the latest version of the library:
go get github.com/upstash/pulumi-upstash/sdk/go/...
The following configuration points are available for the upstash
provider:
upstash:apiKey
(environment: UPSTASH_API_KEY
) - the API key for upstash
. Can be obtained from the console.upstash:email
(environment: UPSTASH_EMAIL
) - owner email of the resourcesimport * as pulumi from "@pulumi/pulumi";
import * as upstash from "@upstash/pulumi";
// multiple redis databases in a single for loop
for (let i = 0; i < 5; i++) {
new upstash.RedisDatabase("mydb" + i, {
databaseName: "pulumi-ts-db" + i,
region: "global",
primaryRegion: "us-east-1",
tls: true
})
}
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/upstash/pulumi-upstash/sdk/go/upstash"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
createdTeam, err := upstash.NewTeam(ctx, "exampleTeam", &upstash.TeamArgs{
TeamName: pulumi.String("pulumi go team"),
CopyCc: pulumi.Bool(false),
TeamMembers: pulumi.StringMap{
"<owner-email>": pulumi.String("owner"),
"<some-other-user-email>": pulumi.String("dev"),
},
})
if err != nil {
return err
}
return nil
})
}
import pulumi
import upstash_pulumi as upstash
example_db = upstash.RedisDatabase("exampleDB",
database_name="Pulumi DB",
region="global",
primary_region="us-east-1"
tls=True
)
For reference, please look into /examples
directory for resource management using different languages. You can also visit developer api docs to see parameters and their behaviors.
FAQs
A Pulumi package for creating and managing upstash cloud resources.
We found that @upstash/pulumi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
Security News
pnpm's new minimumReleaseAge setting delays package updates to prevent supply chain attacks, with other tools like Taze and NCU following suit.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.