move-ftp-files-to-s3
Contains the NodeJS Lambda code for transfering the data
provision
Contains the Terraform code (AWS Lambda + Cloud-watch + S3)
Change SFTP credentials and AWS access credentials (terraform.tfvars) to make the code run
$ cd move-ftp-files-to-s3
$ npm run build:for:deployment
$ cd dist
$ zip -r Lambda-Deployment.zip . ../node_modules/
``` $ cd ../../provision $ terraform init $ terraform apply ```