type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.terraform.aws.EnsureAWSCMKRotationIsEnabled
displayName: Ensure AWS CMK rotation is enabled
description: Ensure AWS CMK rotation is enabled.
- org.openrewrite.terraform.AddConfiguration:
resourceName: aws_kms_key
content: enable_key_rotation = true