进行代码部署时出错

时间:2015-12-09 21:47:24

标签: amazon-web-services jenkins amazon-s3 aws-code-deploy

我正在运行以下命令来执行从jenkins到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.

之前有没有人见过这个错误?

1 个答案:

答案 0 :(得分:1)