alb-ingress-controller
iplabs/alb-ingress-controller/kubernetes
Terraform module to ease deployment of the AWS ALB Ingress Controller
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
| Name | Type | Description | Default |
|---|---|---|---|
| k8s_cluster_name | string | Name of the Kubernetes cluster. This string is used to contruct the AWS IAM perm | required |
| k8s_pod_annotations | map(string) | Additional annotations to be added to the Pods. | {} |
| k8s_pod_labels | map(string) | Additional labels to be added to the Pods. | {} |
| aws_alb_ingress_controller_version | string | The AWS ALB Ingress Controller version to use. See https://github.com/kubernetes | "1.1.7" |
| k8s_cluster_type | string | Can be set to `vanilla` or `eks`. If set to `eks`, the Kubernetes cluster will b | "vanilla" |
| k8s_replicas | number | Amount of replicas to be created. | 1 |
| aws_region_name | string | ID of the Virtual Private Network to utilize. Can be ommited if targeting EKS. | null |
| aws_resource_name_prefix | string | A string to prefix any AWS resources created. This does not apply to K8s resourc | "k8s-" |
| aws_tags | map(string) | Common AWS tags to be applied to all AWS objects being created. | {} |
| k8s_namespace | string | Kubernetes namespace to deploy the AWS ALB Ingress Controller into. | "default" |
| aws_iam_path_prefix | string | Prefix to be used for all AWS IAM objects. | "" |
| aws_vpc_id | string | ID of the Virtual Private Network to utilize. Can be ommited if targeting EKS. | null |
aws_iam_role_arn — ARN of the IAM role that is being utilized by the deployed controller.