Skip to content

Commit

Permalink
🎨 style(cleanup): remove extra whitespace and fix service ref
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Oct 10, 2024
1 parent d7d54b0 commit 95e2784
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,14 @@ locals {
format("%v/region=%v", local.defaults.heritage_label, local.region),
format("%v/create_time=%d", local.defaults.heritage_label, time_static.timestamp.unix)
]

cluster_domain_description = format("%v EKS Cluster DNS Zone", var.cluster_name)
cluster_domain_name = format("%v.%v", var.cluster_name, local.vpc_domain_name)
default_heritage_prefix = lookup(local.defaults.heritage_prefix, local.record_type, "") != "" ? format("%v.", local.defaults.heritage_prefix[local.record_type]) : ""

is_gateway_active = data.kubernetes_service.istio-ingressgateway.status != null

is_shared_vpc = data.aws_vpc.eks_vpc.owner_id != data.aws_caller_identity.current.account_id
record_type = "cname"
region = var.region
vpc_domain_name = var.vpc_domain_name
is_gateway_active = data.kubernetes_service.istio_ingressgateway.status != null
is_shared_vpc = data.aws_vpc.eks_vpc.owner_id != data.aws_caller_identity.current.account_id
record_type = "cname"
region = var.region
vpc_domain_name = var.vpc_domain_name
}

resource "time_static" "timestamp" {}
Expand Down

0 comments on commit 95e2784

Please sign in to comment.