Skip to content

Commit

Permalink
disable public kms
Browse files Browse the repository at this point in the history
  • Loading branch information
anmolnagpal committed Jun 17, 2022
1 parent 2829211 commit 679952f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion _example/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ module "kms_key" {
description = "KMS key for cloudtrail"
deletion_window_in_days = 15
alias = "alias/cloudtrail_Name"
multi_region = true
policy = data.aws_iam_policy_document.default.json
}

Expand Down
1 change: 0 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ resource "aws_kms_key" "default" {
is_enabled = var.is_enabled
enable_key_rotation = var.enable_key_rotation
customer_master_key_spec = var.customer_master_key_spec
multi_region = var.multi_region
policy = var.policy
tags = module.labels.tags
}
Expand Down
5 changes: 0 additions & 5 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,6 @@ variable "enabled" {
description = "Specifies whether the kms is enabled or disabled."
}

variable "multi_region" {
type = bool
default = false
description = "Indicates whether the KMS key is a multi-Region (true) or regional (false) key."
}

variable "key_usage" {
type = string
Expand Down

0 comments on commit 679952f

Please sign in to comment.