mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
parent
77b92686a7
commit
5e63cee340
@ -1,6 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
const _ = require('lodash');
|
||||
const BbPromise = require('bluebird');
|
||||
const awsArnRegExs = require('../../../../../utils/arnRegularExpressions');
|
||||
|
||||
@ -57,7 +56,8 @@ module.exports = {
|
||||
return;
|
||||
}
|
||||
|
||||
_.merge(cfResources, {
|
||||
if (cfResources[authorizerPermissionLogicalId]) return;
|
||||
Object.assign(cfResources, {
|
||||
[authorizerPermissionLogicalId]: {
|
||||
Type: 'AWS::Lambda::Permission',
|
||||
Properties: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user