alb-ingress-controller

campaand/alb-ingress-controller/aws

Terraform Module HCL AWS

Terraform module to ease deployment of the AWS ALB Ingress Controller, based on best practices.

Install
module "alb-ingress-controller" {
source = "campaand/alb-ingress-controller/aws"
version = "2.1.1"
}
plain text: /constructs/tfmod-campaand-alb-ingress-controller-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

AWS EKS Load Balancer Controller This Terraform module can be used to install the AWS ALB Ingress Controller into a Kubernetes cluster. IMPORTANT WARNING: considering that the kubernetes provider, in order to run the plan and apply, must be able to access the cluster api, it is not possible to insert the module within the same file and / or terraform configuration that creates the EKS cluster as it is not the cluster would exist. For this reason, I recommend separating the terraform configurations and launching the one containing this module and other modules like this one at a later time. HERE THE ISSUE DIRECTLY FROM KUBERNETES PROVIDER Examples EKS Basic Deployment To deploy the AWS ALB Ingress Controller into an EKS cluster. ``hcl module "alb_controller" { source = "campaand/alb-ingress

Inputs (10)
NameTypeDescriptionDefault
cluster_namestringEKS Cluster Name/ID required
suffixstringSuffix to add to resource names""
helm_chart_valueslist(string)Values List of String or Values File in yaml format[]
service_account_namestringService Account Name for ALB Controller"aws-load-balancer-controller"
helm_chart_versionstringVersion for Helm Chart, not Application Version, https://artifacthub.io/packages""
controller_iam_role_namestringIAM Role Name for ALB Controller"IRSA-EKSLoadBalancerControllerRole"
namespacestringNamespace where ALB Controller will be created"kube-system"
settingsmap(any)Additional settings which will be passed to the Helm chart values, see https://a{}
use_eks_pod_identityboolIf true, AWS Load Balancer controller will use EKS POD IDENTITY, can only used wfalse
custom_eks_pod_identity_iam_role_arnstringExisting IAM Role ARN that you want to use for EKS POD IDENTITY Authentication, ""
Outputs (1)
aws_iam_role_arn — ARN of the IAM role that is being utilized by the deployed controller
Resources (4)
aws_eks_pod_identity_associationaws_iam_roleaws_iam_role_policyhelm_release
Details
FrameworkTerraform Module
LanguageHCL
Version2.1.1
Cloud AWS
★ Stars4
Forks6
Total downloads15.9k
Inputs10
Outputs1
Resources4
Namespacecampaand
Updated