github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/avd_docs/aws/ec2/AVD-AWS-0026/Terraform.md (about) 1 2 Enable encryption of EBS volumes 3 4 ```hcl 5 resource "aws_ebs_volume" "good_example" { 6 availability_zone = "us-west-2a" 7 size = 40 8 9 tags = { 10 Name = "HelloWorld" 11 } 12 encrypted = true 13 } 14 15 ``` 16 17 #### Remediation Links 18 - https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ebs_volume#encrypted 19