I'm using the aws-code-deploy to deploy my code to AWS. I have various folders in my repo that I don't need in the upload stel (like .git, src and tests).
I noticed that the aws-s3-deploy pipe has the option to exclude certain folders using the EXTRA ARGS parameter, for instance like this:
EXTRA_ARGS: '--exclude=.git/* --exclude=src/* --exclude=tests/*
However, this doesn't seem to work for aws-code-deploy. Is there another way to exclude folders and files in the upload step?