0

I'm running the following command to do a code deploy from jenkins to EC2 server

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

I am getting the following error

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

Has anyone seen this error before?

Rue Vitale
  • 1,549
  • 4
  • 17
  • 24

1 Answers1

1
binbinlu
  • 416
  • 2
  • 5