lambda-s3-sftp
lambda-s3-sftp copied to clipboard
Setup end-to-end tests
As the project has no automated tests, I think would be good to start with a simple end-to-end test of a s3:ObjectCreated:Put event that uploads a file to a SFTP.
The docker-lambda can be used to invoke the function locally. The SFTP server could be set up with a docker container as well.
How would you 'make package'? I'm trying to get the package.zip to upload but confused. I have the user name and pw for the SFTP, would I just place it in the code?
Where are you trying to upload the package.zip
to? The docker container?
I think I'm pretty lost on this. I am currently using AWS Lambda to work on this. Would I have to run an instance or anything? Or I can just work on AWS Lambda?
@dannyn021 You are supposed run it in AWS Lambda. There are deployment instructions in the README, does it helps?