Skip to main content
The karpenter sub-module creates supporting AWS resources for Karpenter, the open-source Kubernetes node autoscaler. This includes the controller IAM role, node IAM role, SQS queue for spot termination handling, and EventBridge rules.

Inputs

General

Controller IAM Role

Pod Identity Association

Node Termination Queue

Node IAM Role

Access Entry

Instance Profile

EventBridge Rules


Outputs

Controller IAM Role

iam_role_name
string
The name of the controller IAM role.
iam_role_arn
string
The Amazon Resource Name (ARN) specifying the controller IAM role.
iam_role_unique_id
string
Stable and unique string identifying the controller IAM role.

Node Termination Queue

queue_arn
string
The ARN of the SQS queue.
queue_name
string
The name of the created Amazon SQS queue.
queue_url
string
The URL for the created Amazon SQS queue.

Event Rules

event_rules
map
Map of the event rules created and their attributes.

Node IAM Role

node_iam_role_name
string
The name of the node IAM role.
node_iam_role_arn
string
The Amazon Resource Name (ARN) specifying the node IAM role.
node_iam_role_unique_id
string
Stable and unique string identifying the node IAM role.

Access Entry

node_access_entry_arn
string
Amazon Resource Name (ARN) of the node Access Entry.

Instance Profile

instance_profile_arn
string
ARN assigned by AWS to the instance profile.
instance_profile_id
string
Instance profile’s ID.
instance_profile_name
string
Name of the instance profile.
instance_profile_unique
string
Stable and unique string identifying the IAM instance profile.

Pod Identity

namespace
string
Namespace associated with the Karpenter Pod Identity.
service_account
string
Service Account associated with the Karpenter Pod Identity.

Build docs developers (and LLMs) love