Skip to content

Commit

Permalink
add desc and change region
Browse files Browse the repository at this point in the history
  • Loading branch information
jhbgov committed Mar 27, 2024
1 parent a2dd9e7 commit 9d3ed9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resource-groups/elasticache-redis/main.tf
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
resource "aws_elasticache_replication_group" "rg" {
at_rest_encryption_enabled = true
automatic_failover_enabled = true
description = "replication group"
engine = "redis"
engine_version = var.engine_version
preferred_cache_cluster_azs = ["eu-west-1a", "eu-west-1b"] # This will need to use a variable for the region
preferred_cache_cluster_azs = ["eu-west-2a", "eu-west-2b"]
replication_group_id = "${var.cluster_id}-rep-group"
node_type = var.node_type
num_cache_clusters = var.num_cache_nodes
Expand Down

0 comments on commit 9d3ed9e

Please sign in to comment.