Skip to content

Commit

Permalink
feat: add var to pass kms administrators
Browse files Browse the repository at this point in the history
  • Loading branch information
Dibya Dhar committed Jun 11, 2024
1 parent dd6c115 commit 0b29776
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aws/modules/infrastructure_modules/eks/eks-cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,7 @@ module "eks" {

eks_managed_node_groups = local.eks_managed_node_groups

kms_key_administrators = var.kms_key_administrators

tags = var.tags
}
6 changes: 6 additions & 0 deletions aws/modules/infrastructure_modules/eks/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -176,3 +176,9 @@ variable "create_kms_key" {
type = bool
default = true
}

variable "kms_key_administrators" {
type = list(string)
description = "KMS Key administrators for the keys which is used to encrypt data within the EKS Cluster"
}

0 comments on commit 0b29776

Please sign in to comment.