-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added description and update example.tf
- Loading branch information
1 parent
f7cffa3
commit 9e6a893
Showing
2 changed files
with
48 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
#output "key_arn" { | ||
# value = module.kms_key.key_arn | ||
# description = "Key ARN." | ||
#} | ||
# | ||
#output "tags" { | ||
# value = module.kms_key.tags | ||
# description = "A mapping of tags to assign to the KMS." | ||
#} | ||
# | ||
#output "key_id" { | ||
# value = module.kms_key.key_id | ||
# description = "The globally unique identifier for the key." | ||
#} | ||
# | ||
#output "target_key_id" { | ||
# value = module.kms_key.target_key_id | ||
# description = "Identifier for the key for which the alias is for, can be either an ARN or key_id." | ||
#} | ||
output "key_arn" { | ||
value = module.kms_key.key_arn | ||
description = "Key ARN." | ||
} | ||
|
||
output "tags" { | ||
value = module.kms_key.tags | ||
description = "A mapping of tags to assign to the KMS." | ||
} | ||
|
||
output "key_id" { | ||
value = module.kms_key.key_id | ||
description = "The globally unique identifier for the key." | ||
} | ||
|
||
output "target_key_id" { | ||
value = module.kms_key.target_key_id | ||
description = "Identifier for the key for which the alias is for, can be either an ARN or key_id." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,29 @@ | ||
## Module : KMS KEY | ||
## Description : This terraform module creates a KMS Customer Master Key (CMK) and its alias. | ||
#output "key_arn" { | ||
# value = join("", aws_kms_key.default.*.arn) | ||
# description = "Key ARN." | ||
#} | ||
# | ||
#output "key_id" { | ||
# value = join("", aws_kms_key.default.*.key_id) | ||
# description = "Key ID." | ||
#} | ||
# | ||
#output "alias_arn" { | ||
# value = join("", aws_kms_alias.default.*.arn) | ||
# description = "Alias ARN." | ||
#} | ||
# | ||
#output "alias_name" { | ||
# value = join("", aws_kms_alias.default.*.name) | ||
# description = "Alias name." | ||
#} | ||
# | ||
#output "tags" { | ||
# value = module.labels.tags | ||
# description = "A mapping of tags to assign to the resource." | ||
#} | ||
# | ||
#output "target_key_id" { | ||
# value = join("", aws_kms_alias.default.*.target_key_id) | ||
# description = "Identifier for the key for which the alias is for, can be either an ARN or key_id." | ||
#} | ||
output "key_arn" { | ||
value = join("", aws_kms_key.default.*.arn) | ||
description = "Key ARN." | ||
} | ||
|
||
output "key_id" { | ||
value = join("", aws_kms_key.default.*.key_id) | ||
description = "Key ID." | ||
} | ||
|
||
output "alias_arn" { | ||
value = join("", aws_kms_alias.default.*.arn) | ||
description = "Alias ARN." | ||
} | ||
|
||
output "alias_name" { | ||
value = join("", aws_kms_alias.default.*.name) | ||
description = "Alias name." | ||
} | ||
|
||
output "tags" { | ||
value = module.labels.tags | ||
description = "A mapping of tags to assign to the resource." | ||
} | ||
|
||
output "target_key_id" { | ||
value = join("", aws_kms_alias.default.*.target_key_id) | ||
description = "Identifier for the key for which the alias is for, can be either an ARN or key_id." | ||
} |