Skip to main content

What it flags

An AWS resource in a .tf file that sets encrypted = false, storage_encrypted = false or at_rest_encryption_enabled = false, including inside nested blocks such as root_block_device, ebs_block_device and launch template block device mappings, and aws_ebs_encryption_by_default with enabled = false. Unencrypted volumes, snapshots and database storage can be read by anyone who obtains a copy of the disk or snapshot, and many compliance programs require encryption at rest. Only an explicit false counts. A missing attribute is not flagged, because the default depends on the resource, the provider version and account-level settings such as EBS encryption by default. Values from variables are not flagged either.

Configuration

Set the rule to "off" in loadwise.config.json to drop its findings: