Skip to content

Commit

Permalink
Merge pull request #3 from asappinc/INF-3910
Browse files Browse the repository at this point in the history
INF-3910: Enabling mandatory Tagging
  • Loading branch information
fdelacruz-asapp authored Oct 14, 2020
2 parents f16494e + a30934e commit 63a468c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/kms_key/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
resource "aws_kms_key" "key" {
policy = "${data.aws_iam_policy_document.policy.json}"
tags = "${var.tags}"
}

resource "aws_kms_alias" "alias" {
Expand Down
6 changes: 6 additions & 0 deletions modules/kms_key/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@ variable "additional_account_ids" {
description = "List of additional account ids with permissions to use the key"
default = []
}

variable "tags" {
type = "map"
description = "INF-3910: Mandatory tagging"
default = {}
}

0 comments on commit 63a468c

Please sign in to comment.