From 43a4077f459b58897a9393e541b657b6e1a7350e Mon Sep 17 00:00:00 2001 From: vijaynidhani Date: Tue, 18 Mar 2025 10:43:35 +0530 Subject: [PATCH] Update index.md Port info is missing, also it required environment variable change in LocalStack to listen on port 80 by setting the environment variable: GATEWAY_LISTEN=:4566,:80,:443 --- content/en/user-guide/aws/elb/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/en/user-guide/aws/elb/index.md b/content/en/user-guide/aws/elb/index.md index b811c22e47..87585a1bc0 100644 --- a/content/en/user-guide/aws/elb/index.md +++ b/content/en/user-guide/aws/elb/index.md @@ -84,6 +84,8 @@ The following command creates a listener for the load balancer created in the pr {{< command >}} $ listenerArn=$(awslocal elbv2 create-listener \ + --protocol HTTP \ + --port 80 \ --default-actions '{"Type":"forward","TargetGroupArn":"'$targetGroup'","ForwardConfig":{"TargetGroups":[{"TargetGroupArn":"'$targetGroup'","Weight":11}]}}' \ --load-balancer-arn $loadBalancer | jq -r '.Listeners[]|.ListenerArn') {{< /command >}}