答案1
您需要添加--deployment-style
完整命令:
aws deploy update-deployment-group --application-name app_test --current-deployment-group-name app_test --load-balancer-info targetGroupInfoList=[{name=test}] --deployment-style deploymentType=IN_PLACE,deploymentOption=WITH_TRAFFIC_CONTROL
注意WITH_TRAFIC_CONTROL
:
--deployment-style deploymentType=IN_PLACE,deploymentOption=WITH_TRAFFIC_CONTROL