alb-ingress-controller

iplabs/alb-ingress-controller/kubernetes

Terraform Module HCL KUBERNETES

Terraform module to ease deployment of the AWS ALB Ingress Controller

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

Terraform module: AWS ALB Ingress Controller installation This Terraform module can be used to install the AWS ALB Ingress Controller into a Kubernetes cluster. Improved integration with Amazon Elastic Kubernetes Service (EKS) This module can be used to install the ALB Ingress controller into a "vanilla" Kubernetes cluster (which is the default) or it can be used to integrate tightly with AWS-managed EKS clusters which allows the deployed pods to use IAM roles for service accounts. It is required, that an OpenID connect provider has already been created for your EKS cluster for this feature to work. Just make sure that you set the variable k8s_cluster_type type if running on EKS. Examples EKS deployment To deploy the AWS ALB Ingress Controller into an EKS cluster, the following snippet mig

Inputs (12)
NameTypeDescriptionDefault
k8s_cluster_namestringName of the Kubernetes cluster. This string is used to contruct the AWS IAM perm required
k8s_pod_annotationsmap(string)Additional annotations to be added to the Pods.{}
k8s_pod_labelsmap(string)Additional labels to be added to the Pods.{}
aws_alb_ingress_controller_versionstringThe AWS ALB Ingress Controller version to use. See https://github.com/kubernetes"1.1.7"
k8s_cluster_typestringCan be set to `vanilla` or `eks`. If set to `eks`, the Kubernetes cluster will b"vanilla"
k8s_replicasnumberAmount of replicas to be created.1
aws_region_namestringID of the Virtual Private Network to utilize. Can be ommited if targeting EKS.null
aws_resource_name_prefixstringA string to prefix any AWS resources created. This does not apply to K8s resourc"k8s-"
aws_tagsmap(string)Common AWS tags to be applied to all AWS objects being created.{}
k8s_namespacestringKubernetes namespace to deploy the AWS ALB Ingress Controller into."default"
aws_iam_path_prefixstringPrefix to be used for all AWS IAM objects.""
aws_vpc_idstringID of the Virtual Private Network to utilize. Can be ommited if targeting EKS.null
Outputs (1)
aws_iam_role_arn — ARN of the IAM role that is being utilized by the deployed controller.
Resources (7)
aws_iam_policyaws_iam_roleaws_iam_role_policy_attachmentkubernetes_cluster_rolekubernetes_cluster_role_bindingkubernetes_deploymentkubernetes_service_account
Details
FrameworkTerraform Module
LanguageHCL
Version3.4.0
Cloud KUBERNETES
Total downloads969.3k
Inputs12
Outputs1
Resources7
Namespaceiplabs
Updated