Skip to content

Commit

Permalink
Set DB IDs for all apps that need redis in integration
Browse files Browse the repository at this point in the history
  • Loading branch information
samsimpson1 committed Feb 25, 2025
1 parent 4f8adaa commit 84c6c0a
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 10 deletions.
2 changes: 1 addition & 1 deletion terraform/deployments/elasticache/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ variable "databases" {
variable "engine_version" {
type = string
default = "8.0"
description = "ValKey version"
description = "Valkey version"
}

variable "node_type" {
Expand Down
43 changes: 34 additions & 9 deletions terraform/deployments/tfc-configuration/variables-integration.tf
Original file line number Diff line number Diff line change
Expand Up @@ -629,15 +629,40 @@ module "variable-set-elasticache-integration" {
name = "elasticache-integration"

tfvars = {
instances = {
/*
"example" = {
max_storage_gb = 30
max_ecpus_per_second = 7000
major_engine_version = "7"
}
*/
"publishing-api" = {}

# a map of app names to database IDs
databases = {
"account-api" = 0
"asset-manager" = 1
"collections-publisher" = 2
"contacts-admin" = 3
"content-data-admin" = 4
"content-data-api" = 5
"content-publisher" = 6
"content-tagger" = 7
"draft-email-alert-frontend" = 8
"email-alert-api" = 9
"email-alert-frontend" = 10
"email-alert-service" = 11
"link-checker-api" = 12
"local-links-manager" = 13
"locations-api" = 14
"manuals-publisher" = 15
"places-manager" = 16
"publisher-on-pg" = 17
"publisher" = 18
"publishing-api" = 19
"search-admin" = 20
"search-api" = 21
"search-api-v2" = 22
"short-url-manager" = 23
"signon" = 24
"specialist-publisher" = 25
"support-api" = 26
"support" = 27
"transition" = 28
"travel-advice-publisher" = 29
"whitehall-admin" = 30
}
}
}

0 comments on commit 84c6c0a

Please sign in to comment.