A bug in the newest Serverless version - 1.61.2
See original GitHub issueBug Report
Description
- What did you do?
I update the Serverless framework from 1.61.1 to 1.61.2.
- What happened?
My Serverless config stopped working.
My simplified config:
service:
name: sa-weekly-report
provider:
name: aws
runtime: nodejs10.x
stage: ${env:NODE_ENV, 'dev'}
region: ${opt:region, 'eu-central-1'}
custom:
customDomain:
domainName: sa-weekly-report.startdeliver.io
certificateName: '*.startdeliver.io'
endpointType: 'regional'
functions:
# Some functions go here...
plugins:
- serverless-domain-manager
I invoke the domain’s creation with sls create_domain
.
- What should’ve happened?
It should work as it worked in 1.61.1. But instead I am getting this:
Error --------------------------------------------------
Error: Error: '*******************************' was not created in API Gateway.
ConfigError: Missing region in config
at createDomainName.catch (/root/app/node_modules/serverless-domain-manager/index.js:108:15)
at process._tickCallback (internal/process/next_tick.js:68:7)
For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Issues: forum.serverless.com
Your Environment Information ---------------------------
Operating System: linux
Node Version: 10.18.1
Framework Version: 1.61.2
Plugin Version: 3.2.7
SDK Version: 2.2.1
Components Core Version: 1.1.2
Components CLI Version: 1.4.0
Exited with code exit status 1
Similar or dependent issues:
- the same problem is described in the plugin’s repository - https://github.com/amplify-education/serverless-domain-manager/issues/306
Issue Analytics
- State:
- Created 4 years ago
- Reactions:10
- Comments:6 (3 by maintainers)
Top Results From Across the Web
serverless - UNPKG
500, ### Bug Fixes. 501. 502, - **AWS Lambda:** Address issues in version hash generation logic, ensure any layer changes influence change of...
Read more >Serverless plugin not found even though it is installed and listed
My co-worker is able to run sls deploy when he pulls my most recent code. Am I missing something in my setup? Serverless...
Read more >serverless | Yarn - Package Manager
Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more.
Read more >detected unrecognized cli options serverless - You.com
The AI Search Engine You Control · Github Issues. Sign in · Are you certain it's a bug? · Is the issue caused...
Read more >Getting Started with Appium 2.0 Beta | by Applitools - Medium
Appium released its first major version almost 7 years ago. Since then, Appium has rolled out a lot of new features and its...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@turakvlad with v1.61.2 we’ve fixed one internal issue, and it appears that domain manager relied on that specific quirk of a framework (which technically was buggy design).
Issue ideally should be fixed in domain manager plugin
@jonoirwinrsa if you feel it’s an issue in a framework (no plugins are involved) please open a dedicated issue, otherwise you need to report at given plugin repository