From e736f0707273117e4adaa49dd774a625fb7d9b00 Mon Sep 17 00:00:00 2001 From: Rui Lopes Date: Fri, 15 Mar 2024 07:24:44 +0000 Subject: [PATCH] put the ingresses in the same alb ingress group --- stacks/eks-workloads/kubernetes-hello.tf | 1 + stacks/eks-workloads/otel-example.tf | 1 + 2 files changed, 2 insertions(+) diff --git a/stacks/eks-workloads/kubernetes-hello.tf b/stacks/eks-workloads/kubernetes-hello.tf index 8fbb7a5..f24c39e 100644 --- a/stacks/eks-workloads/kubernetes-hello.tf +++ b/stacks/eks-workloads/kubernetes-hello.tf @@ -98,6 +98,7 @@ resource "kubernetes_ingress_v1" "kubernetes_hello" { annotations = { "alb.ingress.kubernetes.io/scheme" = "internet-facing" "alb.ingress.kubernetes.io/target-type" = "ip" + "alb.ingress.kubernetes.io/group.name" = var.ingress_domain } } spec { diff --git a/stacks/eks-workloads/otel-example.tf b/stacks/eks-workloads/otel-example.tf index 876e30d..3550f57 100644 --- a/stacks/eks-workloads/otel-example.tf +++ b/stacks/eks-workloads/otel-example.tf @@ -8,6 +8,7 @@ resource "kubernetes_ingress_v1" "otel_example" { annotations = { "alb.ingress.kubernetes.io/scheme" = "internet-facing" "alb.ingress.kubernetes.io/target-type" = "ip" + "alb.ingress.kubernetes.io/group.name" = var.ingress_domain } } spec {