mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-17 23:13:46 +01:00
feat: Add variables to allow users to control attributes on cluster_encryption IAM policy (#1928)
This commit is contained in:
30
variables.tf
30
variables.tf
@@ -325,6 +325,36 @@ variable "iam_role_tags" {
|
||||
default = {}
|
||||
}
|
||||
|
||||
variable "cluster_encryption_policy_use_name_prefix" {
|
||||
description = "Determines whether cluster encryption policy name (`cluster_encryption_policy_name`) is used as a prefix"
|
||||
type = string
|
||||
default = true
|
||||
}
|
||||
|
||||
variable "cluster_encryption_policy_name" {
|
||||
description = "Name to use on cluster encryption policy created"
|
||||
type = string
|
||||
default = null
|
||||
}
|
||||
|
||||
variable "cluster_encryption_policy_description" {
|
||||
description = "Description of the cluster encryption policy created"
|
||||
type = string
|
||||
default = "Cluster encryption policy to allow cluster role to utilize CMK provided"
|
||||
}
|
||||
|
||||
variable "cluster_encryption_policy_path" {
|
||||
description = "Cluster encryption policy path"
|
||||
type = string
|
||||
default = null
|
||||
}
|
||||
|
||||
variable "cluster_encryption_policy_tags" {
|
||||
description = "A map of additional tags to add to the cluster encryption policy created"
|
||||
type = map(string)
|
||||
default = {}
|
||||
}
|
||||
|
||||
################################################################################
|
||||
# EKS Addons
|
||||
################################################################################
|
||||
|
||||
Reference in New Issue
Block a user