sns-kms-key

dod-iac/sns-kms-key/aws

Terraform Module HCL AWS

AWS KMS Key for use with AWS SNS

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

Usage Creates a KMS Key for use with SNS. ``hcl module "sns_kms_key" { source = "dod-iac/sns-kms-key/aws" name = format("alias/app-%s-sns-%s", var.application, var.environment) description = format("A SNS key used to encrypt SNS messages at rest for %s:%s.", var.application, var.environment) tags = { Application = var.application Environment = var.environment Automation = "Terraform" } } ` Terraform Version Terraform 0.13. Pin module version to ~> 1.0.0 . Submit pull-requests to main branch. Terraform 0.11 and 0.12 are not supported. License This project constitutes a work of the United States Government and is not subject to domestic copyright protection under 17 USC § 105. However, because the project utilizes code licensed from contributors and other third parties, it therefore is licen

Inputs (6)
NameTypeDescriptionDefault
allow_image_builderboolAllow EC2 Image Builder to send messages to SNS topics encrypted with this key.false
descriptionstring"A KMS key used to encrypt SNS messages
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/sns"
serviceslist(string)Services that can use this KMS key.[ "cloudwatch.amazonaws.com", "event
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
Topics & Tags
terraformawskmssns
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.1
Cloud AWS
★ Stars1
Forks2
Total downloads39.1k
Inputs6
Outputs3
Resources2
LicenseMIT
Namespacedod-iac
Updated