Skip to content

Commit

Permalink
Merge pull request #1091 from GSA/jskinne3-redis-upgrade-demo
Browse files Browse the repository at this point in the history
Demo: Redis upgrade step 1
  • Loading branch information
ccostino authored Jun 18, 2024
2 parents 3be8e20 + e52f44a commit 833ebfa
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion terraform/demo/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module "database" {
rds_plan_name = "micro-psql"
}

module "redis" {
module "redis" { # default v6.2; delete after v7.0 resource is bound
source = "github.com/18f/terraform-cloudgov//redis?ref=v0.7.1"

cf_org_name = local.cf_org_name
Expand All @@ -26,6 +26,20 @@ module "redis" {
redis_plan_name = "redis-dev"
}

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-dev"
json_params = jsonencode(
{
"engineVersion" : "7.0",
}
)
}

module "csv_upload_bucket" {
source = "github.com/18f/terraform-cloudgov//s3?ref=v0.7.1"

Expand Down

0 comments on commit 833ebfa

Please sign in to comment.