1
0
mirror of https://github.com/terraform-aws-modules/terraform-aws-eks.git synced 2025-09-09 19:32:58 +08:00

fix: Auto Mode custom tag policy should apply to cluster role, not node role (#3242)

This commit is contained in:
Bryant Biggs
2024-12-14 07:28:52 -06:00
committed by GitHub
parent bba5a75ee1
commit a07013a1f4
3 changed files with 164 additions and 173 deletions
+6 -12
View File
@@ -542,6 +542,12 @@ variable "dataplane_wait_duration" {
default = "30s"
}
variable "enable_auto_mode_custom_tags" {
description = "Determines whether to enable permissions for custom tags resources created by EKS Auto Mode"
type = bool
default = true
}
################################################################################
# EKS Addons
################################################################################
@@ -620,18 +626,6 @@ variable "node_iam_role_tags" {
default = {}
}
variable "enable_node_custom_tags_permissions" {
description = "Determines whether to enable permissions for custom tags for the EKS Auto node IAM role"
type = bool
default = true
}
variable "node_iam_role_policy_statements" {
description = "A list of IAM policy [statements](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document#statement) - used for adding specific IAM permissions as needed"
type = any
default = []
}
################################################################################
# Fargate
################################################################################