UNPKG

serverless-aliyun-function-compute

Version:

Provider plugin for the Serverless Framework v1.x which adds support for Aliyun Function Compute

14 lines (11 loc) 300 B
'use strict'; const _ = require('lodash'); module.exports = { setDefaults() { this.options.stage = _.get(this, 'options.stage') || 'dev'; this.options.region = _.get(this, 'options.region') || _.get(this, 'serverless.service.provider.region') || 'cn-shanghai'; }, };