From 4def16c37396ddca4c55f49341f5a183b915fbda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandor=20Sz=C3=BCcs?= Date: Tue, 30 Apr 2024 20:07:02 +0200 Subject: [PATCH] fix: comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sandor Szücs --- aws/adapter.go | 1 + aws/cf_template.go | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/adapter.go b/aws/adapter.go index 05bea9b7..c14cfef6 100644 --- a/aws/adapter.go +++ b/aws/adapter.go @@ -131,6 +131,7 @@ const ( // DefaultNLBCrossZone specifies the default configuration for cross // zone load balancing: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html#load-balancer-attributes + // It it is safe to change as per https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-loadbalancer-loadbalancerattribute.html#aws-properties-elasticloadbalancingv2-loadbalancer-loadbalancerattribute-properties DefaultNLBCrossZone = false DefaultNLBHTTPEnabled = false diff --git a/aws/cf_template.go b/aws/cf_template.go index dedcfc8c..145cb805 100644 --- a/aws/cf_template.go +++ b/aws/cf_template.go @@ -308,7 +308,6 @@ func generateTemplate(spec *stackSpec) (string, error) { }, ) - println("HERE: ", spec.nlbZoneAffinity) lbAttrList = append(lbAttrList, cloudformation.ElasticLoadBalancingV2LoadBalancerLoadBalancerAttribute{ // https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html#load-balancer-attributes