diff --git a/src/index.js b/src/index.js index ff5de7c6..0a19ba30 100644 --- a/src/index.js +++ b/src/index.js @@ -875,7 +875,7 @@ class ServerlessAppsyncPlugin { Type: 'AWS::AppSync::FunctionConfiguration', Properties: { ApiId: { 'Fn::GetAtt': [logicalIdGraphQLApi, 'ApiId'] }, - Name: tpl.name, + Name: this.getCfnName(tpl.name), DataSourceName: { 'Fn::GetAtt': [logicalIdDataSource, 'Name'] }, RequestMappingTemplate: this.processTemplate( requestTemplate,