In AWS when creating a Codedeploy/application, how to enable the "Enable load balancing" option using the awscli or terraform?
Using the command line I can only select/define the target group but the "Enable load balancing" remains disabled
aws deploy update-deployment-group --application-name app_test --current-deployment-group-name app_test --load-balancer-info targetGroupInfoList=[{name=test}]
You need to add
--deployment-style
full command:Notice
WITH_TRAFIC_CONTROL
: