airbnb / binaryalert

BinaryAlert: Serverless, Real-time & Retroactive Malware Detection.
https://binaryalert.io
Apache License 2.0
1.41k stars 187 forks source link

Support customer managed KMS keys for dynamo DB #168

Open jdheyburn opened 4 years ago

jdheyburn commented 4 years ago

Background

Currently the dynamoDB is encrypted using AWS managed keys. The aws_dynamodb_table resource permits use of encrypting this resource with a customer managed key as documented below.

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/dynamodb_table#server_side_encryption

Desired Change

Add new Terraform variable dynamodb_kms_key_arn (default value null) to allow the user to pass in a CMK key to aws_dynamodb_table.binaryalert_yara_matches.