HIGH
Source
Trivy
ID
AVD-AWS-0051

Elasticache Replication Group uses unencrypted traffic.

Traffic flowing between Elasticache replication nodes should be encrypted to ensure sensitive data is kept private.

Impact

Follow the appropriate remediation steps below to resolve the issue.

Enable in transit encryption for replication group

1
2
3
4
5
Resources:
  GoodExample:
    Type: AWS::ElastiCache::ReplicationGroup
    Properties:
      TransitEncryptionEnabled: true

Enable in transit encryption for replication group

1
2
3
resource "aws_elasticache_replication_group" "good_example" {
  transit_encryption_enabled = true
}