From e897800cb5d2cea45069d1b3794b38c54f425e6f Mon Sep 17 00:00:00 2001 From: John Skiles Skinner Date: Wed, 26 Jun 2024 19:11:55 -0700 Subject: [PATCH] Restore v7.0 Redis at the correct plan name in Prod --- manifest.yml | 2 +- terraform/production/main.tf | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/manifest.yml b/manifest.yml index ed596ffeb7..bccd00db62 100644 --- a/manifest.yml +++ b/manifest.yml @@ -12,7 +12,7 @@ applications: - route: ((cloud_dot_gov_route)) services: - - notify-admin-redis-((env)) + - notify-admin-redis-v70-((env)) - notify-api-csv-upload-bucket-((env)) - notify-admin-logo-upload-bucket-((env)) diff --git a/terraform/production/main.tf b/terraform/production/main.tf index be4bf35eaa..69cc9b2648 100644 --- a/terraform/production/main.tf +++ b/terraform/production/main.tf @@ -16,6 +16,20 @@ module "redis" { # default v6.2; delete after v7.0 resource is bound redis_plan_name = "redis-3node-large" } +module "redis-v70" { + source = "github.com/GSA-TTS/terraform-cloudgov//redis?ref=v1.0.0" + + cf_org_name = local.cf_org_name + cf_space_name = local.cf_space_name + name = "${local.app_name}-redis-v70-${local.env}" + redis_plan_name = "redis-3node-large" + json_params = jsonencode( + { + "engineVersion" : "7.0", + } + ) +} + module "logo_upload_bucket" { source = "github.com/18f/terraform-cloudgov//s3?ref=v0.7.1"