Skip to content

Commit 8608a94

Browse files
authored
Update index.md (#1697)
1 parent 31d2904 commit 8608a94

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/en/user-guide/aws/elb/index.md

+2
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ The following command creates a listener for the load balancer created in the pr
8484

8585
{{< command >}}
8686
$ listenerArn=$(awslocal elbv2 create-listener \
87+
--protocol HTTP \
88+
--port 80 \
8789
--default-actions '{"Type":"forward","TargetGroupArn":"'$targetGroup'","ForwardConfig":{"TargetGroups":[{"TargetGroupArn":"'$targetGroup'","Weight":11}]}}' \
8890
--load-balancer-arn $loadBalancer | jq -r '.Listeners[]|.ListenerArn')
8991
{{< /command >}}

0 commit comments

Comments
 (0)