For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/security/code_security/iac_security/iac_rules/ansible-aws-redshift-not-encrypted.md.
A documentation index is available at /llms.txt.
AWS Redshift clusters must have storage encryption enabled to protect sensitive data at rest, including data on cluster disks, automated snapshots, and backups. Without encryption, data can be exposed if storage media or snapshots are compromised. For Ansible, tasks using the redshift or community.aws.redshift modules that create or modify clusters must set the encrypted parameter to true. Resources where encrypted is omitted or explicitly set to false are flagged because the modules default to unencrypted when the property is not provided. Optionally specify a customer-managed KMS key with kms_key_id when encrypted: true is required.