Skip to content

Files

Failed to load latest commit information.

Latest commit

 Cannot retrieve latest commit at this time.

History

History

kms_keymaker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

kms_keymaker

This Terraform module will generate a KMS key + alias for use by the Login.gov IdP application, along with a CloudWatch event monitor, and its target (an SNS topic/subscription). It is best utilized alongside the kms_log module, which creates the SQS queue (whose ARN is a required variable in this module) that SNS sends messages to.

These resources were, previously, all included within kms_log in a more monolithic design; they have been split out separately to allow for multi-region KMS keys and associated resources.

Example

module "kms_keymaker_uw2" {
  source = "github.com/18F/identity-terraform//kms_keymaker?ref=main"

  env_name                   = "testing"
  ec2_kms_arns               = local.kms_arns
  sqs_queue_arn = module.kms_logging.kms-ct-events-queue
}

Variables

ec2_kms_arns - ARN(s) of EC2 roles permitted access to KMS env_name - Environment name sqs_queue_arn - ARN of the SQS queue used as the CloudWatch event target.