type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.terraform.aws.EnsureAWSElasticsearchDomainEncryptionForDataAtRestIsEnabled
displayName: Ensure AWS Elasticsearch domain encryption for data at rest is enabled
description: Ensure AWS Elasticsearch domain encryption for data at rest is enabled.
- org.openrewrite.terraform.AddConfiguration:
resourceName: aws_elasticsearch_domain
content: encrypt_at_rest {