mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-22 17:39:05 +01:00
Make "dangerous" policy attachments optional (#539)
This commit is contained in:
committed by
Max Williams
parent
09635a36b7
commit
813c607e90
18
variables.tf
18
variables.tf
@@ -263,3 +263,21 @@ variable "workers_role_name" {
|
||||
type = string
|
||||
default = ""
|
||||
}
|
||||
|
||||
variable "manage_worker_autoscaling_policy" {
|
||||
description = "Whether to let the module manage the cluster autoscaling iam policy."
|
||||
type = bool
|
||||
default = true
|
||||
}
|
||||
|
||||
variable "attach_worker_autoscaling_policy" {
|
||||
description = "Whether to attach the module managed cluster autoscaling iam policy to the default worker IAM role. This requires `manage_worker_autoscaling_policy = true`"
|
||||
type = bool
|
||||
default = true
|
||||
}
|
||||
|
||||
variable "attach_worker_cni_policy" {
|
||||
description = "Whether to attach the Amazon managed `AmazonEKS_CNI_Policy` IAM policy to the default worker IAM role. WARNING: If set `false` the permissions must be assigned to the `aws-node` DaemonSet pods via another method or nodes will not be able to join the cluster."
|
||||
type = bool
|
||||
default = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user