mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Seclude canonicalFunctionNamePrefix var
This commit is contained in:
parent
490e714ccd
commit
d417a0fc4e
@ -83,8 +83,10 @@ module.exports = {
|
||||
}
|
||||
);
|
||||
|
||||
const canonicalFunctionNamePrefix =
|
||||
`${this.provider.serverless.service.service}-${this.provider.getStage()}`;
|
||||
const logGroupsPrefix = this.provider.naming
|
||||
.getLogGroupName(`${this.provider.serverless.service.service}-${this.provider.getStage()}`);
|
||||
.getLogGroupName(canonicalFunctionNamePrefix);
|
||||
|
||||
const policyDocumentStatements = this.serverless.service.provider.compiledCloudFormationTemplate
|
||||
.Resources[this.provider.naming.getRoleLogicalId()]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user