Skip to content

Commit

Permalink
Lambda deploy fix (#1851)
Browse files Browse the repository at this point in the history
* Revert syntax change
  • Loading branch information
vivid-cpreston authored Apr 23, 2024
1 parent f134bdd commit 92c444b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lambda/cache-invalidator/nodejs/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const distributionIds = distributionIdsString.split(',');
* @returns {Object} object - API Gateway Lambda Proxy Output Format
*
*/
export const lambdaHandler = async (event, context) => {
exports.lambdaHandler = async (event, context) => {
const cloudfront = new AWS.CloudFront();
const invalidationPaths = ['/*']; // Paths to invalidate, right now assume it's the root for all services
const results = [];
Expand Down

0 comments on commit 92c444b

Please sign in to comment.