diff --git a/lib/Serverless.js b/lib/Serverless.js index af40aced0..4e06d7d30 100644 --- a/lib/Serverless.js +++ b/lib/Serverless.js @@ -66,7 +66,7 @@ class Serverless { * Validate Project * Ensures: * - valid SERVERLESS project found - * - proj serverless.json has one valid region and stage + * - proj s-project.json has one valid region and stage */ validateProject() { diff --git a/lib/utils/index.js b/lib/utils/index.js index 5894b3258..c9f05b985 100644 --- a/lib/utils/index.js +++ b/lib/utils/index.js @@ -609,7 +609,7 @@ exports.saveRegionalApi = function(projectJawsJson, regionName, restApiId, rootP } } - fs.writeFileSync(path.join(rootPath, 'serverless.json'), JSON.stringify(projectJawsJson, null, 2)); + fs.writeFileSync(path.join(rootPath, 's-project.json'), JSON.stringify(projectJawsJson, null, 2)); }; function pathToContext(path) {