diff --git a/test/project/.serverless/aws-nodejs.zip b/test/project/.serverless/aws-nodejs.zip deleted file mode 100644 index a7b45dd..0000000 Binary files a/test/project/.serverless/aws-nodejs.zip and /dev/null differ diff --git a/test/project/.serverless/cloudformation-template-create-stack.json b/test/project/.serverless/cloudformation-template-create-stack.json deleted file mode 100644 index 3be3c87..0000000 --- a/test/project/.serverless/cloudformation-template-create-stack.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "AWSTemplateFormatVersion": "2010-09-09", - "Description": "The AWS CloudFormation template for this Serverless application", - "Resources": { - "ServerlessDeploymentBucket": { - "Type": "AWS::S3::Bucket" - } - }, - "Outputs": { - "ServerlessDeploymentBucketName": { - "Value": { - "Ref": "ServerlessDeploymentBucket" - } - } - } -} \ No newline at end of file diff --git a/test/project/.serverless/cloudformation-template-update-stack.json b/test/project/.serverless/cloudformation-template-update-stack.json deleted file mode 100644 index c4a0f8f..0000000 --- a/test/project/.serverless/cloudformation-template-update-stack.json +++ /dev/null @@ -1,138 +0,0 @@ -{ - "AWSTemplateFormatVersion": "2010-09-09", - "Description": "The AWS CloudFormation template for this Serverless application", - "Resources": { - "ServerlessDeploymentBucket": { - "Type": "AWS::S3::Bucket" - }, - "HelloLogGroup": { - "Type": "AWS::Logs::LogGroup", - "Properties": { - "LogGroupName": "/aws/lambda/aws-nodejs-dev-hello" - } - }, - "IamRoleLambdaExecution": { - "Type": "AWS::IAM::Role", - "Properties": { - "AssumeRolePolicyDocument": { - "Version": "2012-10-17", - "Statement": [ - { - "Effect": "Allow", - "Principal": { - "Service": [ - "lambda.amazonaws.com" - ] - }, - "Action": [ - "sts:AssumeRole" - ] - } - ] - }, - "Policies": [ - { - "PolicyName": { - "Fn::Join": [ - "-", - [ - "dev", - "aws-nodejs", - "lambda" - ] - ] - }, - "PolicyDocument": { - "Version": "2012-10-17", - "Statement": [ - { - "Effect": "Allow", - "Action": [ - "logs:CreateLogStream" - ], - "Resource": [ - { - "Fn::Sub": "arn:aws:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/lambda/aws-nodejs-dev-hello:*" - } - ] - }, - { - "Effect": "Allow", - "Action": [ - "logs:PutLogEvents" - ], - "Resource": [ - { - "Fn::Sub": "arn:aws:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/lambda/aws-nodejs-dev-hello:*:*" - } - ] - } - ] - } - } - ], - "Path": "/", - "RoleName": { - "Fn::Join": [ - "-", - [ - "aws-nodejs", - "dev", - "us-east-1", - "lambdaRole" - ] - ] - } - } - }, - "HelloLambdaFunction": { - "Type": "AWS::Lambda::Function", - "Properties": { - "Code": { - "S3Bucket": { - "Ref": "ServerlessDeploymentBucket" - }, - "S3Key": "serverless/aws-nodejs/dev/1503386445033-2017-08-22T07:20:45.033Z/aws-nodejs.zip" - }, - "FunctionName": "aws-nodejs-dev-hello", - "Handler": "handler.hello", - "MemorySize": 1024, - "Role": { - "Fn::GetAtt": [ - "IamRoleLambdaExecution", - "Arn" - ] - }, - "Runtime": "nodejs6.10", - "Timeout": 6 - }, - "DependsOn": [ - "HelloLogGroup", - "IamRoleLambdaExecution" - ] - }, - "HelloLambdaVersion7p4NexYRuzOsoomEZEP4W10mCzDeqTdtfySKqRUpn8": { - "Type": "AWS::Lambda::Version", - "DeletionPolicy": "Retain", - "Properties": { - "FunctionName": { - "Ref": "HelloLambdaFunction" - }, - "CodeSha256": "7p4NexYRuzOs/oomEZEP4W10mCzDeqTdtfySKqRUpn8=" - } - } - }, - "Outputs": { - "ServerlessDeploymentBucketName": { - "Value": { - "Ref": "ServerlessDeploymentBucket" - } - }, - "HelloLambdaFunctionQualifiedArn": { - "Description": "Current Lambda function version", - "Value": { - "Ref": "HelloLambdaVersion7p4NexYRuzOsoomEZEP4W10mCzDeqTdtfySKqRUpn8" - } - } - } -} \ No newline at end of file diff --git a/test/project/.serverless/serverless-state.json b/test/project/.serverless/serverless-state.json deleted file mode 100644 index 61e5e71..0000000 --- a/test/project/.serverless/serverless-state.json +++ /dev/null @@ -1,189 +0,0 @@ -{ - "service": { - "service": "aws-nodejs", - "serviceObject": { - "name": "aws-nodejs" - }, - "provider": { - "stage": "dev", - "region": "us-east-1", - "variableSyntax": "\\${([ ~:a-zA-Z0-9._,\\-\\/\\(\\)]+?)}", - "name": "aws", - "runtime": "nodejs6.10", - "versionFunctions": true, - "remoteFunctionData": null, - "compiledCloudFormationTemplate": { - "AWSTemplateFormatVersion": "2010-09-09", - "Description": "The AWS CloudFormation template for this Serverless application", - "Resources": { - "ServerlessDeploymentBucket": { - "Type": "AWS::S3::Bucket" - }, - "HelloLogGroup": { - "Type": "AWS::Logs::LogGroup", - "Properties": { - "LogGroupName": "/aws/lambda/aws-nodejs-dev-hello" - } - }, - "IamRoleLambdaExecution": { - "Type": "AWS::IAM::Role", - "Properties": { - "AssumeRolePolicyDocument": { - "Version": "2012-10-17", - "Statement": [ - { - "Effect": "Allow", - "Principal": { - "Service": [ - "lambda.amazonaws.com" - ] - }, - "Action": [ - "sts:AssumeRole" - ] - } - ] - }, - "Policies": [ - { - "PolicyName": { - "Fn::Join": [ - "-", - [ - "dev", - "aws-nodejs", - "lambda" - ] - ] - }, - "PolicyDocument": { - "Version": "2012-10-17", - "Statement": [ - { - "Effect": "Allow", - "Action": [ - "logs:CreateLogStream" - ], - "Resource": [ - { - "Fn::Sub": "arn:aws:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/lambda/aws-nodejs-dev-hello:*" - } - ] - }, - { - "Effect": "Allow", - "Action": [ - "logs:PutLogEvents" - ], - "Resource": [ - { - "Fn::Sub": "arn:aws:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/lambda/aws-nodejs-dev-hello:*:*" - } - ] - } - ] - } - } - ], - "Path": "/", - "RoleName": { - "Fn::Join": [ - "-", - [ - "aws-nodejs", - "dev", - "us-east-1", - "lambdaRole" - ] - ] - } - } - }, - "HelloLambdaFunction": { - "Type": "AWS::Lambda::Function", - "Properties": { - "Code": { - "S3Bucket": { - "Ref": "ServerlessDeploymentBucket" - }, - "S3Key": "serverless/aws-nodejs/dev/1503386445033-2017-08-22T07:20:45.033Z/aws-nodejs.zip" - }, - "FunctionName": "aws-nodejs-dev-hello", - "Handler": "handler.hello", - "MemorySize": 1024, - "Role": { - "Fn::GetAtt": [ - "IamRoleLambdaExecution", - "Arn" - ] - }, - "Runtime": "nodejs6.10", - "Timeout": 6 - }, - "DependsOn": [ - "HelloLogGroup", - "IamRoleLambdaExecution" - ] - }, - "HelloLambdaVersion7p4NexYRuzOsoomEZEP4W10mCzDeqTdtfySKqRUpn8": { - "Type": "AWS::Lambda::Version", - "DeletionPolicy": "Retain", - "Properties": { - "FunctionName": { - "Ref": "HelloLambdaFunction" - }, - "CodeSha256": "7p4NexYRuzOs/oomEZEP4W10mCzDeqTdtfySKqRUpn8=" - } - } - }, - "Outputs": { - "ServerlessDeploymentBucketName": { - "Value": { - "Ref": "ServerlessDeploymentBucket" - } - }, - "HelloLambdaFunctionQualifiedArn": { - "Description": "Current Lambda function version", - "Value": { - "Ref": "HelloLambdaVersion7p4NexYRuzOsoomEZEP4W10mCzDeqTdtfySKqRUpn8" - } - } - } - }, - "coreCloudFormationTemplate": { - "AWSTemplateFormatVersion": "2010-09-09", - "Description": "The AWS CloudFormation template for this Serverless application", - "Resources": { - "ServerlessDeploymentBucket": { - "Type": "AWS::S3::Bucket" - } - }, - "Outputs": { - "ServerlessDeploymentBucketName": { - "Value": { - "Ref": "ServerlessDeploymentBucket" - } - } - } - }, - "vpc": {} - }, - "plugins": [ - "serverless-async-await" - ], - "functions": { - "hello": { - "handler": "handler.hello", - "events": [], - "name": "aws-nodejs-dev-hello", - "package": {}, - "vpc": {} - } - }, - "artifact": "C:\\Users\\Quantum\\Google Drive\\Projets\\Experiment\\serverless-async-await\\test\\project\\__build__\\.serverless\\aws-nodejs.zip" - }, - "package": { - "artifactDirectoryName": "serverless/aws-nodejs/dev/1503386445033-2017-08-22T07:20:45.033Z", - "artifact": "aws-nodejs.zip" - } -} \ No newline at end of file