From 4a6c6a720efc611691c06fcce7b8cb6392780982 Mon Sep 17 00:00:00 2001 From: patoarvizu Date: Tue, 18 Jun 2019 16:24:21 -0400 Subject: [PATCH] Add 'alias_arn' output --- README.md | 1 + modules/kms_key/outputs.tf | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/README.md b/README.md index 2d33bfc..0c39c60 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ additional_account_ids | [] * `key_id` * `key_arn` +* `alias_arn` ### Secret decryption diff --git a/modules/kms_key/outputs.tf b/modules/kms_key/outputs.tf index 4d61a1a..be4cf49 100644 --- a/modules/kms_key/outputs.tf +++ b/modules/kms_key/outputs.tf @@ -5,3 +5,7 @@ output "key_id" { output "key_arn" { value = "${aws_kms_key.key.arn}" } + +output "alias_arn" { + value = "${aws_kms_alias.alias.arn}" +} \ No newline at end of file