From dec64126ab9dac56eac578cc9086f72bfd78567e Mon Sep 17 00:00:00 2001
From: thrubovc <34124990+thrubovc@users.noreply.github.com>
Date: Fri, 21 Nov 2025 11:34:10 +0100
Subject: [PATCH 1/2] fix: typo in node_iam_role_arn var description
---
modules/karpenter/variables.tf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/karpenter/variables.tf b/modules/karpenter/variables.tf
index b814963485..7e73a3883f 100644
--- a/modules/karpenter/variables.tf
+++ b/modules/karpenter/variables.tf
@@ -253,7 +253,7 @@ variable "cluster_ip_family" {
}
variable "node_iam_role_arn" {
- description = "Existing IAM role ARN for the IAM instance profile. Required if `create_iam_role` is set to `false`"
+ description = "Existing IAM role ARN for the IAM instance profile. Required if `create_node_iam_role` is set to `false`"
type = string
default = null
}
From 7da3fac6c69763f16d8e3b8f4b1064c969915ba9 Mon Sep 17 00:00:00 2001
From: thrubovc <34124990+thrubovc@users.noreply.github.com>
Date: Fri, 21 Nov 2025 14:55:36 +0100
Subject: [PATCH 2/2] precommit
---
modules/karpenter/README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/karpenter/README.md b/modules/karpenter/README.md
index d06cadf56f..a72f55a95b 100644
--- a/modules/karpenter/README.md
+++ b/modules/karpenter/README.md
@@ -159,7 +159,7 @@ No modules.
| [iam\_role\_use\_name\_prefix](#input\_iam\_role\_use\_name\_prefix) | Determines whether the name of the IAM role (`iam_role_name`) is used as a prefix | `bool` | `true` | no |
| [namespace](#input\_namespace) | Namespace to associate with the Karpenter Pod Identity | `string` | `"kube-system"` | no |
| [node\_iam\_role\_additional\_policies](#input\_node\_iam\_role\_additional\_policies) | Additional policies to be added to the IAM role | `map(string)` | `{}` | no |
-| [node\_iam\_role\_arn](#input\_node\_iam\_role\_arn) | Existing IAM role ARN for the IAM instance profile. Required if `create_iam_role` is set to `false` | `string` | `null` | no |
+| [node\_iam\_role\_arn](#input\_node\_iam\_role\_arn) | Existing IAM role ARN for the IAM instance profile. Required if `create_node_iam_role` is set to `false` | `string` | `null` | no |
| [node\_iam\_role\_attach\_cni\_policy](#input\_node\_iam\_role\_attach\_cni\_policy) | Whether to attach the `AmazonEKS_CNI_Policy`/`AmazonEKS_CNI_IPv6_Policy` IAM policy to the IAM 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 | `bool` | `true` | no |
| [node\_iam\_role\_description](#input\_node\_iam\_role\_description) | Description of the role | `string` | `null` | no |
| [node\_iam\_role\_max\_session\_duration](#input\_node\_iam\_role\_max\_session\_duration) | Maximum API session duration in seconds between 3600 and 43200 | `number` | `null` | no |