question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

A bug in the newest Serverless version - 1.61.2

See original GitHub issue

Bug Report

Description

  1. What did you do?

I update the Serverless framework from 1.61.1 to 1.61.2.

  1. 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.

  1. 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:

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:10
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
medikoocommented, Jan 16, 2020

@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

2reactions
medikoocommented, Jan 17, 2020

@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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found