Files
floci/src/main/java/io/github/hectorvent
Allen Sanborn 90d1a19310 fix(elasticache): report transit encryption, not the auth-token flag (#2844)
TransitEncryptionEnabled was serialized as `authMode == PASSWORD` in both the
replication-group and the member-cache-cluster views. An auth token does force
encryption in transit, but the reverse does not hold: CreateReplicationGroup
already accepts TransitEncryptionEnabled=true with no token and records it as
AuthMode.IAM, and every read then reported that group as unencrypted in transit.
Terraform's aws_elasticache_replication_group reads transit_encryption_enabled
back on every plan, so such a group showed permanent drift.

DescribeCacheClusters had a second, narrower version of the same problem:
AtRestEncryptionEnabled was a hardcoded false on the member view, so it
contradicted DescribeReplicationGroups about one group's own storage
encryption. It now reports what the group stores, which is the value
CreateReplicationGroup already parsed and kept.
2026-08-31 22:07:13 -04:00
..