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.
module "logs_key" {
source = "../"
tags = {
Owner = "fortunecookiezen"
}
}
Name | Version |
---|---|
aws | ~>4.0 |
Name | Version |
---|---|
aws | ~>4.0 |
No modules.
Name | Description | Type | Default | Required |
---|---|---|---|---|
tags | Tags to apply to the module resources | map(string) |
{} |
no |
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 |
Name | Description |
---|---|
key_arn | arn of the kms cmk |