Installation
email is your registered email in Upstash.
api_key can be generated from Upstash Console. For more information please check our docs.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
terraform {
required_providers {
upstash = {
source = "upstash/upstash"
version = "x.x.x"
}
}
}
provider "upstash" {
email = var.email
api_key = var.api_key
}
email is your registered email in Upstash.
api_key can be generated from Upstash Console. For more information please check our docs.
resource "upstash_redis_database" "redis" {
database_name = "db-name"
region = "eu-west-1"
tls = "true"
multi_zone = "false"
}
resource "upstash_redis_database" "redis" {}
terraform import upstash_redis_database.redis <db-id>
Was this page helpful?