I have seen similar topics on this (e.g, serverless-finch, aws cli) on how to upload file(s) to S3.
In a nut shell I want to deploy some configuration files to S3 as part of my deploy. Are there any examples where I can explicitly define what files and where they will be deployed?
The Serverless Framework doesn’t support this out of the box which is why you need to use a plugin like serverless-finch or write your own deployment script using the AWS CLI. If you have more than a few files that need uploading then you’ll probably want to have a local folder that matches what you want S3 to look like.
I’m currently deploying our website via an NPM script because it’s a separate project.