resource "upstash_redis_database" "exampleDB" {
database_name = "Terraform DB6"
region = "eu-west-1"
tls = "true"
multizone = "true"
}
Schema
Required
Region of the database. Possible values are: global
, eu-west-1
,
us-east-1
, us-west-1
, ap-northeast-1
, eu-central1
Optional
Upgrade to higher plans automatically when it hits quotas
Enable eviction, to evict keys when your database reaches the max size
Primary region for the database (Only works if region=‘global’. Can be one of
[us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1,
ap-southeast-1, ap-southeast-2])
Read regions for the database (Only works if region=‘global’ and
primary_region is set. Can be any combination of [us-east-1, us-west-1,
us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1,
ap-southeast-2], excluding the one given as primary.)
When enabled, data is encrypted in transit. (If changed to false from true,
results in deletion and recreation of the resource)
Read-Only
Creation time of the database
Unique Database ID for created database
Daily bandwidth limit for the database
Disk threshold for the database
Max clients for the database
db_max_commands_per_second
Max commands per second for the database
Max entry size for the database
Max request size for the database
Memory threshold for the database
Database URL for connection
Rest Token for the database.
Rest Token for the database.
User email for the database