Write an AWS Lambda function that
• Uses functions from fetch_data and import_data to fetch and process new data.
• New data should be written to the S3 buckets specified in #131.
• Output files (summary, departments, etc.) should be written to the appropriate S3 bucket.
• The result of the function, if possible, should differentiates between “ran successfully but no new file”, and “ran successfully and new file”
The environment for the function should be specified in our terraform config:
• Use Node.js 6.10.2 (the latest version)
• Is scheduled to run daily
Write an AWS Lambda function that • Uses functions from fetch_data and import_data to fetch and process new data. • New data should be written to the S3 buckets specified in #131. • Output files (summary, departments, etc.) should be written to the appropriate S3 bucket. • The result of the function, if possible, should differentiates between “ran successfully but no new file”, and “ran successfully and new file”
The environment for the function should be specified in our terraform config: • Use Node.js 6.10.2 (the latest version) • Is scheduled to run daily