Skip to content

Commit

Permalink
only when active
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Oct 10, 2024
1 parent bfc3d03 commit 6705bb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aws_data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ data "aws_vpc" "dummy_vpc" {
}

data "kubernetes_service" "istio_ingressgateway" {
count = local.is_gateway_active ? 1 : 0
metadata {
name = "istio-ingressgateway"
namespace = var.istio_namespace
Expand Down

0 comments on commit 6705bb4

Please sign in to comment.