skip to Main Content

Terraform Error: "replication_group_id": conflicts with engine_version. ( redis )

I'm trying to create an aws_elasticache_replication_group using Redis resource "aws_elasticache_cluster" "encryption-at-rest" { count = 1 cluster_id = "${var.namespace}-${var.environment}-encryption-at-rest" engine = "redis" engine_version = var.engine_version node_type = var.node_type num_cache_nodes = 1 port = var.redis_port #az_mode = var.az_mode replication_group_id = aws_elasticache_replication_group.elasticache_replication_group.id security_group_ids…

VIEW QUESTION

Terraform: ElastiCache Redis cluster with specified availability zones?

I use this Terraform example to create an ElastiCache Redis cluster (clustered mode enabled): https://www.terraform.io/docs/providers/aws/r/elasticache_replication_group.html#redis-cluster-mode-enabled resource "aws_elasticache_replication_group" "example" { replication_group_id = "example-group" engine_version = "5.0.5" node_type = "cache.r5.large" port = 6379 automatic_failover_enabled = true cluster_mode { replicas_per_node_group = 1 num_node_groups…

VIEW QUESTION
Back To Top
Search