UNPKG

serverless

Version:

Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more

7 lines (5 loc) 184 B
'use strict'; module.exports = (stacks, prefix, service, stage) => stacks.flat().map((entry) => ({ Key: `${prefix}/${service}/${stage}/${entry.directory}/${entry.file}`, }));