Terraform module which creates a KMS Customer Master Key (CMK) and its alias.
This Terraform module have no dependencies to another modules
module "cmk_key" {
source = "github.com/traveloka/terraform-aws-kms-cmk?ref=v0.1.0"
product_domain = "bei"
alias_name = "secret-parameter"
environment = "production"
description = "Key to encrypt and decrypt secret parameters"
key_policy = "${data.aws_iam_policy_document.cmk_key_policy.json}"
}
No requirements.
Name | Version |
---|---|
aws | n/a |
Name | Description | Type | Default | Required |
---|---|---|---|---|
additional_tags | Additional tags to be added to kms-cmk | map |
{} |
no |
alias_name | The name of the key alias | string |
n/a | yes |
deletion_window_in_days | The duration in days after which the key is deleted after destruction of the resource | string |
30 |
no |
description | The description of this KMS key | string |
n/a | yes |
environment | The environment this KMS key belongs to | string |
n/a | yes |
key_policy | The policy of the key usage | string |
"" |
no |
product_domain | The name of the product domain | string |
n/a | yes |
Name | Description |
---|---|
key_alias_arn | The arn of the key alias |
key_alias_name | The name of the key alias |
key_arn | The arn of the key |
key_id | The globally unique identifier for the key |
This module accepting or open for any contributions from anyone, please see the CONTRIBUTING.md for more detail about how to contribute to this module.
This module is under Apache License 2.0 - see the LICENSE file for details.