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 | 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 }