Configuration without an ENCRYPTED_VOLUMES AWS Config rule

Evaluate encryption of attached EBS volumes with AWS Config and connect results to operational review.

Description

AWS Config’s ENCRYPTED_VOLUMES rule evaluates EBS volumes attached to EC2 instances. Review detached volumes separately.

Potential impact

An unencrypted volume can remain in use if evaluation stops or nobody receives the result.

Remediation

Provide a recorder and permissions for EBS volumes in the target account and Region. Add an aws_config_config_rule with source_identifier = "ENCRYPTED_VOLUMES" and route evaluation results to an alert or review process. Migrate noncompliant volumes separately, preserving their data.

Examples

The second resource adds the EBS check. If you also need IAM_PASSWORD_POLICY, keep both Terraform resources in the configuration.

Before

hcl
resource "aws_config_config_rule" "password_policy_rule" {
  name = "some_rule"

  source {
    owner             = "AWS"
    source_identifier = "IAM_PASSWORD_POLICY"
  }
}

After

hcl
resource "aws_config_config_rule" "encrypted_volumes_rule" {
  name = "encrypted_vols_rule"

  source {
    owner             = "AWS"
    source_identifier = "ENCRYPTED_VOLUMES"
  }
}

References