dynamodb-kms-key

dod-iac/dynamodb-kms-key/aws

Terraform Module HCL AWS

KMS Key for use with DynamoDB.

Install
module "dynamodb-kms-key" {
source = "dod-iac/dynamodb-kms-key/aws"
version = "1.0.0"
}
plain text: /constructs/tfmod-dod-iac-dynamodb-kms-key-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

Usage Creates a KMS Key for use with DynamoDB. ``hcl module "dynamodb_kms_key" { source = "dod-iac/dynamodb-kms-key/aws" name = format("alias/app-%s-dynamodb-%s", var.application, var.environment) description = format("A KMS key used to encrypt data at rest in DynamoDB for %s:%s.", var.application, var.environment) principals_encrypt = [var.submit_lambda_execution_role_arn] principals_decrypt = [var.export_lambda_execution_role_arn, aws_iam_role.user.arn] tags = { Application = var.application Environment = var.environment Automation = "Terraform" } } ` Terraform Version Terraform 0.12. Pin module version to ~> 1.0.0 . Submit pull-requests to master branch. Terraform 0.11 is not supported. License This project constitutes a work of the United States Government and is not subject to domesti

Inputs (6)
NameTypeDescriptionDefault
principals_decryptlist(string)AWS Principals that can decrypt using this KMS key. required
principals_encryptlist(string)AWS Principals that can encrypt using this KMS key. required
descriptionstring"A KMS key used to encrypt data at rest
key_deletion_window_in_daysstringDuration in days after which the key is deleted after destruction of the resourc30
namestringThe display name of the alias. The name must start with the word "alias" followe"alias/dynamodb"
tagsmap(string)Tags applied to the KMS key.{}
Outputs (3)
aws_kms_alias_arn — The Amazon Resource Name (ARN) of the key alias.
aws_kms_alias_name — The display name of the alias.
aws_kms_key_arn — The Amazon Resource Name (ARN) of the key.
Resources (2)
aws_kms_aliasaws_kms_key
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.0
Cloud AWS
★ Stars3
Forks2
Total downloads8.3k
Inputs6
Outputs3
Resources2
LicenseMIT
Namespacedod-iac
Updated