> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# terraform-storage-encryption-disabled

> A Terraform resource explicitly turns off encryption at rest.

## 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.

```hcl theme={null}
resource "aws_ebs_volume" "data" {
  encrypted = true
}
```

## Configuration

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

```json theme={null}
{
  "rules": { "terraform-storage-encryption-disabled": "off" }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.