Skip to content

Commit cc30213

Browse files
author
grothja
authored
Merge pull request #12 from niaid/upd-kms-rule-variable
Added optional parameter and updated default values for the rule para…
2 parents 06ceb05 + bacf30f commit cc30213

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

variables.tf

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -703,11 +703,15 @@ variable "iam_customer_policy_blocked_kms_actions_parameters" {
703703
variable "iam_inline_policy_blocked_kms_actions_parameters" {
704704
description = "Input parameters for the iam-inline-policy-blocked-kms-actions rule"
705705
default = {
706-
blockedActionsPatterns = "none"
706+
# Required comma-separated list of blocked KMS action patterns, for example, kms:*, kms:Decrypt, kms:ReEncrypt*. It doesn't accept null and If "none" specified, Rule Evaluaiton takes many hours to complete.
707+
blockedActionsPatterns = "kms:*"
708+
# Exclude a role if it is only assumable by organization management account. Valid values are "true" or "false". Specific default value is not provided by AWS
709+
excludeRoleByManagementAccount = "true"
707710
}
708711

709712
type = object({
710-
blockedActionsPatterns = string
713+
blockedActionsPatterns = string
714+
excludeRoleByManagementAccount = string
711715
})
712716
}
713717

0 commit comments

Comments
 (0)