Enables Redis AUTH and in-transit encryption for a replication group.

Terraform Template

resource "aws_elasticache_replication_group" "example" {
  auth_token = "abcdefgh1234567890"
  auth_token_update_strategy = "ROTATE"
  description = "example with authentication"
  engine_version = "5.0.6"
  node_type = "cache.t2.micro"
  num_cache_clusters = 1
  parameter_group_name = "default.redis5.0"
  port = 6379
  replication_group_id = "example"
  security_group_ids = ["aws_security_group.example.id"]
  subnet_group_name = "aws_elasticache_subnet_group.example.name"
  transit_encryption_enabled = true
  engine = ""
}