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?
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.