Skip to content

Latest commit

 

History

History

iam-for-load-balancer-controller

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

IAM for AWS Load Balancer controller

This terraform module provides an easy way to generate AWS Load Balancer controller required IAM permissions.

⚠️ Warning: this module uses "IAM Roles for ServiceAccount" to inject AWS credentials inside cluster autoscaler pods

Requirements

Name Version
terraform >= 1.3
aws ~> 3.76

Providers

Name Version
aws ~> 3.76

Inputs

Name Description Type Default Required
cluster_name The EKS cluster name string n/a yes

Outputs

Name Description
load_balancer_controller_patches Load Balancer controller SA Kustomize patch
load_balancer_controller_iam_role_arn Load Balancer controller IAM role arn

Usage

module "load_balancer_controller_iam_role" {
  source             = "../vendor/modules/aws/iam-for-load-balancer-controller"
  cluster_name       = "myekscluster"
}