UNPKG

sls3-legacy

Version:

SLS3 Legacy - A fork of Serverless Framework v3

9 lines (6 loc) 227 B
'use strict'; const _ = require('lodash'); const resolveRegion = ({ configuration, options }) => { return options.region || _.get(configuration, 'provider.region') || 'us-east-1'; }; module.exports = resolveRegion;