2015-12-09 91 views
0

我运行下面的命令来执行从詹金斯代码部署到EC2服务器做代码部署

aws deploy create-deployment --application-name $APPNAME --s3-location bucket=$S3BUCKET,key=chefdeployment.zip,bundleType=zip --deployment-group-name $DEPLOYMENTGROUPNAME --deployment-config-name CodeDeployDefault.HalfAtATime --description "Deploy" --region us-east-1 --profile $PROFILE --output text 

我收到以下错误

A client error (InstanceIdRequiredException) occurred when calling the GetDeploymentInstance operation: Instance ID is Missing. 

有没有人看到的时候得到一个错误这个错误之前?

回答