github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/avd_docs/aws/elasticache/AVD-AWS-0045/Terraform.md (about) 1 2 Enable at-rest encryption for replication group 3 4 ```hcl 5 resource "aws_elasticache_replication_group" "good_example" { 6 replication_group_id = "foo" 7 replication_group_description = "my foo cluster" 8 9 at_rest_encryption_enabled = true 10 } 11 12 ``` 13 14 #### Remediation Links 15 - https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/elasticache_replication_group#at_rest_encryption_enabled 16