mirror of
https://github.com/FlipsideCrypto/convox.git
synced 2026-02-06 10:56:56 +00:00
use random suffix for redis cluster name
This commit is contained in:
parent
dc5c5d5809
commit
7cc4b0cfc7
@ -1,5 +1,11 @@
|
||||
resource "random_string" "suffix" {
|
||||
length = 12
|
||||
special = false
|
||||
upper = false
|
||||
}
|
||||
|
||||
resource "digitalocean_database_cluster" "cache" {
|
||||
name = "${var.name}-router"
|
||||
name = "${var.name}-router-${random_string.suffix.result}"
|
||||
engine = "redis"
|
||||
size = "db-s-1vcpu-1gb"
|
||||
region = var.region
|
||||
|
||||
Loading…
Reference in New Issue
Block a user