From cc6c1948fb81081df2ef062b92e6956f0e4f02cc Mon Sep 17 00:00:00 2001 From: Mariusz Nowak Date: Tue, 13 Aug 2019 18:16:00 +0200 Subject: [PATCH] Correct typo --- lib/plugins/aws/lib/naming.js | 2 +- .../aws/package/compile/events/apiGateway/lib/stage/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/plugins/aws/lib/naming.js b/lib/plugins/aws/lib/naming.js index ab78b6032..d6eec8601 100644 --- a/lib/plugins/aws/lib/naming.js +++ b/lib/plugins/aws/lib/naming.js @@ -509,7 +509,7 @@ module.exports = { )}` ); }, - getCustomResurceApiGatewayAccountCloudWatchRoleResourceLogicalId() { + getCustomResourceApiGatewayAccountCloudWatchRoleResourceLogicalId() { return 'CustomApiGatewayAccountCloudWatchRole'; }, }; diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/stage/index.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/stage/index.js index a711ba977..81d867445 100644 --- a/lib/plugins/aws/package/compile/events/apiGateway/lib/stage/index.js +++ b/lib/plugins/aws/package/compile/events/apiGateway/lib/stage/index.js @@ -84,7 +84,7 @@ module.exports = { // }); // -------------------------------------------------------------------------------- - const customResourceLogicalId = this.provider.naming.getCustomResurceApiGatewayAccountCloudWatchRoleResourceLogicalId(); + const customResourceLogicalId = this.provider.naming.getCustomResourceApiGatewayAccountCloudWatchRoleResourceLogicalId(); const customResourceFunctionLogicalId = this.provider.naming.getCustomResourceApiGatewayAccountCloudWatchRoleHandlerFunctionLogicalId(); _.merge(cfTemplate.Resources, {