4

I am kicking off a deployment from aws-cli:

"C:\Program Files\Amazon\AWSCLI\bin\aws.exe" deploy create-deployment --application-name App.Web --deployment-config-name CodeDeployDefault.OneAtATime --deployment-group-name Development-Staging-UAT --region us-west-2 --description "App.Web" --s3-location bucket=app-artifacts/development,bundleType=zip,key=Publish.zip

This does kick off a deploy but end with error in the DownloadBundle section:

:bucket option must not contain a forward-slash (/) 

Revision location s3://app-artifacts/development/Publish.zip

What am I doing wrong?

jmogera
  • 1,689
  • 3
  • 30
  • 65

1 Answers1

6
"C:\Program Files\Amazon\AWSCLI\bin\aws.exe" deploy create-deployment --application-name App.Web --deployment-config-name CodeDeployDefault.OneAtATime --deployment-group-name Development-Staging-UAT --region us-west-2 --description "App.Web" --s3-location bucket=app-artifacts,bundleType=zip,key=development/Publish.zip

Need to removed the /development from bucket and add it part of the key

jmogera
  • 1,689
  • 3
  • 30
  • 65