type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.terraform.aws.EncryptEBSSnapshots
displayName: Encrypt EBS snapshots
description: EBS snapshots should be encrypted, as they often include sensitive information, customer PII or CPNI.
- org.openrewrite.terraform.AddConfiguration:
resourceName: aws_ebs_snapshot
content: encrypted = true