avx-pmarie-aws-infra/modules/eks-aws-load-balancer-controller/main.tf

17 lines
528 B
Terraform
Raw Permalink Normal View History

2022-07-01 14:12:11 +02:00
resource "helm_release" "aws_load_balancer_controller" {
name = "aws-load-balancer-controller"
repository = "https://aws.github.io/eks-charts"
chart = "aws-load-balancer-controller"
version = "1.4.2"
namespace = var.namespace
create_namespace = var.create_namespace
values = [
templatefile("values.yaml", {
cluster_name = var.cluster_id
service_account_name = var.service_account_name
iam_role_arn = var.iam_role_arn
})
]
}