Skip to content

Commit

Permalink
Merge pull request #12 from niaid/upd-kms-rule-variable
Browse files Browse the repository at this point in the history
Added optional parameter and updated default values for the rule para…
  • Loading branch information
grothja authored Sep 15, 2022
2 parents 06ceb05 + bacf30f commit cc30213
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -703,11 +703,15 @@ variable "iam_customer_policy_blocked_kms_actions_parameters" {
variable "iam_inline_policy_blocked_kms_actions_parameters" {
description = "Input parameters for the iam-inline-policy-blocked-kms-actions rule"
default = {
blockedActionsPatterns = "none"
# 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.
blockedActionsPatterns = "kms:*"
# 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
excludeRoleByManagementAccount = "true"
}

type = object({
blockedActionsPatterns = string
blockedActionsPatterns = string
excludeRoleByManagementAccount = string
})
}

Expand Down

0 comments on commit cc30213

Please sign in to comment.