DynamoDB Accelerator clusters should be encrypted in transit¶
This control checks whether an Amazon DynamoDB Accelerator (DAX) cluster is encrypted in transit, with the endpoint encryption type set to TLS. The control fails if the DAX cluster isn't encrypted in transit.
How to fix¶
Attribute cluster_endpoint_encryption_type of aws_dax_cluster must be "TLS".
Implementation options¶
Choose the option that matches how you manage Terraform. All options satisfy this control.
Option 1: Terraform AWS provider resources¶
If you manage resources directly, configure the relevant Terraform AWS provider resources to meet this control. See docs for the resources involved: aws_dax_cluster.
resource "aws_dax_cluster" "this" {
cluster_name = "pofix-example"
iam_role_arn = "arn:aws:iam::123456789012:role/example-role"
node_type = "dax.t3.small"
replication_factor = 1
cluster_endpoint_encryption_type = "TLS"
}
Which option should I choose?
- Compliance.tf module (recommended): controls enforced by default and mapped to frameworks.
- Open source module (
terraform-aws-modules): compatible by design with compliance.tf. Same variable names for an easy, low-change migration path when you are ready. - Terraform AWS provider resources: manage Terraform resources directly.
Tool mappings¶
Use these identifiers to cross-reference this control across tools, reports, and evidence.
Compliance.tf (CTF) Control:
dax_cluster_encryption_in_transit_enabledAWS Config Managed Rule:
DAX_TLS_ENDPOINT_ENCRYPTIONPowerpipe Control:
aws_compliance.control.dax_cluster_encryption_in_transit_enabled