/aws-tf-cloudwatch-logs-cmk

A terraform module for a KMS CMK and associated resources for use with CloudWatch Logs

Primary LanguageHCLApache License 2.0Apache-2.0

aws-tf-cloudwatch-logs-cmk

A terraform module for a KMS CMK and associated resources for use with CloudWatch Logs. See: Encrypt log data in CloudWatch Logs using AWS Key Management Service for details.

Usage

module "logs_key" {
  source = "../"
  tags = {
    Owner = "fortunecookiezen"
  }
}

Requirements

Name Version
aws ~>4.0

Providers

Name Version
aws ~>4.0

Modules

No modules.

Inputs

Name Description Type Default Required
tags Tags to apply to the module resources map(string) {} no

Resources

Name Type
aws_kms_key.cloudwatch resource
aws_caller_identity.current data source
aws_iam_policy_document.cloudwatch data source
aws_region.current data source

Outputs

Name Description
key_arn arn of the kms cmk