diff --git a/terraform/modules/k8s-addons/eks-aws-loadbalancer-controller.tf b/terraform/modules/k8s-addons/eks-aws-loadbalancer-controller.tf index 395451b..813c7ae 100644 --- a/terraform/modules/k8s-addons/eks-aws-loadbalancer-controller.tf +++ b/terraform/modules/k8s-addons/eks-aws-loadbalancer-controller.tf @@ -137,6 +137,7 @@ module "aws_iam_aws_loadbalancer_controller" { "elasticloadbalancing:DescribeLoadBalancerAttributes", "elasticloadbalancing:DescribeListeners", "elasticloadbalancing:DescribeListenerCertificates", + "elasticloadbalancing:DescribeListenerAttributes", "elasticloadbalancing:DescribeSSLPolicies", "elasticloadbalancing:DescribeRules", "elasticloadbalancing:DescribeTargetGroups", @@ -437,7 +438,6 @@ resource "kubernetes_ingress_v1" "default" { metadata { name = "${local.ingress_nginx.name}-controller" annotations = { - "kubernetes.io/ingress.class" = "alb" "alb.ingress.kubernetes.io/scheme" = "internet-facing" "alb.ingress.kubernetes.io/tags" = "Environment=${local.env},Name=${local.name},Cluster=${local.eks_cluster_id}" "alb.ingress.kubernetes.io/certificate-arn" = "${local.ssl_certificate_arn}" @@ -450,6 +450,7 @@ resource "kubernetes_ingress_v1" "default" { namespace = module.ingress_nginx_namespace[count.index].name } spec { + ingress_class_name = "alb" rule { http { path { diff --git a/terraform/modules/k8s-addons/eks-loki-stack.tf b/terraform/modules/k8s-addons/eks-loki-stack.tf index 3c22eb6..b9fb70b 100644 --- a/terraform/modules/k8s-addons/eks-loki-stack.tf +++ b/terraform/modules/k8s-addons/eks-loki-stack.tf @@ -10,6 +10,9 @@ locals { loki_stack_values = <