We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
service: ${env:SLS_SERVICE_NAME} # Name of the CloudFormation stack functions: ${file(serverless/functions/index.js), ""}
frameworkVersion: ">=1.21.0 <2.0.0" # Serverless Framework version constraints
usagePlan: # Optional usage plan configuration quota: limit: 1000000 offset: 2 period: MONTH throttle: burstLimit: 200 rateLimit: 100
defaults: stage: ${env:SLS_STAGE} region: ${env:SLS_REGION}
provider: name: aws runtime: nodejs10.x memorySize: 512 timeout: 18 # important stage: ${env:SLS_STAGE} region: ${env:SLS_REGION} profile: ${env:SLS_PROFILE}
versionFunctions: false # dougmoscrop/serverless-plugin-split-stacks#15 (comment)
role: ${env:IAM_ROLE} vpc: securityGroupIds: - ${env:SecurityGroupId} subnetIds: - ${env:SubnetId1} - ${env:SubnetId2} - ${env:SubnetId3} - ${env:SubnetId4} - ${env:SubnetId5} - ${env:SubnetId6} environment: STAGE: ${env:SLS_STAGE} NODE_ENV: ${env:NODE_ENV} DB_DIALECT: ${env:DB_DIALECT} DB_NAME: ${env:DB_NAME} DB_USERNAME: ${env:DB_USERNAME} DB_PASSWORD: ${env:DB_PASSWORD} DB_HOST: ${env:DB_HOST} DB_PORT: ${env:DB_PORT}
plugins:
package: individually: true excludeDevDependencies: true
custom: splitStacks: perFunction: false perType: true perGroupFunction: false serverless-offline: port: ${env:PROJECT_PORT} migrationsPath: './migrations' webpack: packager: npm webpackConfig: build/webpack.config.js # serverless-heaven/serverless-webpack#289 includeModules: forceExclude: - "aws-sdk"
This is my configuration. When I run "sls migrations up", I get this error "SequelizeConnectionError: read ECONNRESET". What's wrong with my script?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
service: ${env:SLS_SERVICE_NAME} # Name of the CloudFormation stack
functions: ${file(serverless/functions/index.js), ""}
frameworkVersion: ">=1.21.0 <2.0.0" # Serverless Framework version constraints
usagePlan: # Optional usage plan configuration
quota:
limit: 1000000
offset: 2
period: MONTH
throttle:
burstLimit: 200
rateLimit: 100
defaults:
stage: ${env:SLS_STAGE}
region: ${env:SLS_REGION}
provider:
name: aws
runtime: nodejs10.x
memorySize: 512
timeout: 18 # important
stage: ${env:SLS_STAGE}
region: ${env:SLS_REGION}
profile: ${env:SLS_PROFILE}
versionFunctions: false # dougmoscrop/serverless-plugin-split-stacks#15 (comment)
role: ${env:IAM_ROLE}
vpc:
securityGroupIds:
- ${env:SecurityGroupId}
subnetIds:
- ${env:SubnetId1}
- ${env:SubnetId2}
- ${env:SubnetId3}
- ${env:SubnetId4}
- ${env:SubnetId5}
- ${env:SubnetId6}
environment:
STAGE: ${env:SLS_STAGE}
NODE_ENV: ${env:NODE_ENV}
DB_DIALECT: ${env:DB_DIALECT}
DB_NAME: ${env:DB_NAME}
DB_USERNAME: ${env:DB_USERNAME}
DB_PASSWORD: ${env:DB_PASSWORD}
DB_HOST: ${env:DB_HOST}
DB_PORT: ${env:DB_PORT}
plugins:
package:
individually: true
excludeDevDependencies: true
custom:
splitStacks:
perFunction: false
perType: true
perGroupFunction: false
serverless-offline:
port: ${env:PROJECT_PORT}
migrationsPath: './migrations'
webpack:
packager: npm
webpackConfig: build/webpack.config.js # serverless-heaven/serverless-webpack#289
includeModules:
forceExclude:
- "aws-sdk"
This is my configuration.
When I run "sls migrations up", I get this error "SequelizeConnectionError: read ECONNRESET".
What's wrong with my script?
The text was updated successfully, but these errors were encountered: