Search code examples
gitamazon-web-servicesbitbucketdevopsaws-code-deploy

Deployment from git repo that doesn't have appspec.yml using aws codedeploy


I have a Git repo that is maintained without an appspec.yml file.

How can I use CodeDeploy in this case?

How do I write in AppSpec file to download a file from an S3 URL?


Solution

  • You cannot deploy without the appspec file. The deploy will fail.

    As an alternative you can bundle the repo as a zip package, add an appspec, and then register the revision and deploy.