0num4 / nestjs-dynamo-graphsql-sls-sample

nestjs周りの調査とかいろいろためしてみるサンプル
2 stars 1 forks source link

stage: ${opt:stage, 'dev'}みたいな書き方が出来ない、→'がインジェクションされてperseがバグる? #20

Open 0num4 opened 2 years ago

0num4 commented 2 years ago

ref: https://github.com/0num4/nestjs-dynamo-graphsql-sls-sample/commit/e574ef3c3c0fcaebeac9b660b2108a6a03658264

追記: nestした変数は解決できるので「serverless.ymlがnestした変数を解決できなくなった」というissueは本質ではない https://github.com/0num4/nestjs-dynamo-graphsql-sls-sample/pull/21/commits/f52c7a55bd2f32a9c0652e0a19255db0a464e41b

0num4 commented 2 years ago

厳しい

 setup@DM200010  ~  work  private  nestjs-dynamo-graphsql-sls-sample  master 
❯ sls create_domain --aws-profile prv-sls --stage dev
Serverless Domain Manager: Info: Custom domain backend-api.dev.levena.link already exists.
Serverless: Deprecation warnings:

Support for "package.include" and "package.exclude" will be removed with next major release. Please use "package.patterns" instead
More Info: https://www.serverless.com/framework/docs/deprecations/#NEW_PACKAGE_PATTERNS

Resolution of lambda version hashes was improved with better algorithm, which will be used in next major release.
Switch to it now by setting "provider.lambdaHashingVersion" to "20201221"
More Info: https://www.serverless.com/framework/docs/deprecations/#LAMBDA_HASHING_VERSION_V2

 setup@DM200010  ~  work  private  nestjs-dynamo-graphsql-sls-sample  master 
❯ sls deploy --aws-profile prv-sls --stage dev

Serverless: [ LayersPlugin ]: => default
... ○ Downloading package.json from bucket...
... ○ Comparing package.json dependencies...
... ○  No changes ! Using same layer arn: arn:aws:lambda:ap-northeast-1:*********:nestjs-sls-dynamo-lambda-dev-nodejs-default:4
... ○ Adding layers...
... ✓ function.index - arn:aws:lambda:ap-northeast-1:*********:nestjs-sls-dynamo-lambda-dev-nodejs-default:4

Serverless: Packaging service...
Serverless: Service files not changed. Skipping deployment...
Service Information
service: nestjs-sls-dynamo-lambda
stage: dev
region: ap-northeast-1
stack: nestjs-sls-dynamo-lambda-dev
resources: 12
api keys:
  None
endpoints:
  ANY - https://9s9unqlpkk.execute-api.ap-northeast-1.amazonaws.com/dev/
  ANY - https://9s9unqlpkk.execute-api.ap-northeast-1.amazonaws.com/dev/{proxy+}
functions:
  index: nestjs-sls-dynamo-lambda-dev-index
layers:
  None

Serverless: [ LayersPlugin ]: => Layers Info
... ○ function.index = layers.arn:aws:lambda:ap-northeast-1:*********:nestjs-sls-dynamo-lambda-dev-nodejs-default:4

 Error ---------------------------------------------------

  Error: Unable to setup base domain mappings for backend-api.dev.levena.link
      at ServerlessCustomDomain.<anonymous> (C:\Users\setup\work\private\nestjs-dynamo-graphsql-sls-sample\node_modules\serverless-domain-manager\dist\src\index.js:270:27)
      at Generator.throw (<anonymous>)
      at rejected (C:\Users\setup\work\private\nestjs-dynamo-graphsql-sls-sample\node_modules\serverless-domain-manager\dist\src\index.js:6:65)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:95:5)

     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:          win32
     Node Version:              14.17.1
     Framework Version:         2.59.0
     Plugin Version:            5.4.4
     SDK Version:               4.3.0
     Components Version:        3.17.1

Serverless: Deprecation warnings:

Support for "package.include" and "package.exclude" will be removed with next major release. Please use "package.patterns" instead
More Info: https://www.serverless.com/framework/docs/deprecations/#NEW_PACKAGE_PATTERNS

Resolution of lambda version hashes was improved with better algorithm, which will be used in next major release.
Switch to it now by setting "provider.lambdaHashingVersion" to "20201221"
More Info: https://www.serverless.com/framework/docs/deprecations/#LAMBDA_HASHING_VERSION_V2

 setup@DM200010  ~  work  private  nestjs-dynamo-graphsql-sls-sample  master  ERROR 
❯ sls deploy --aws-profile prv-sls --stage dev

Serverless: [ LayersPlugin ]: => default
... ○ Downloading package.json from bucket...
... ○ Comparing package.json dependencies...
... ○  No changes ! Using same layer arn: arn:aws:lambda:ap-northeast-1:*********:nestjs-sls-dynamo-lambda-dev-nodejs-default:4
... ○ Adding layers...
... ✓ function.index - arn:aws:lambda:ap-northeast-1:*********:nestjs-sls-dynamo-lambda-dev-nodejs-default:4

Serverless: Packaging service...
Serverless: Service files not changed. Skipping deployment...
Service Information
service: nestjs-sls-dynamo-lambda
stage: dev
region: ap-northeast-1
stack: nestjs-sls-dynamo-lambda-dev
resources: 12
api keys:
  None
endpoints:
  ANY - https://9s9unqlpkk.execute-api.ap-northeast-1.amazonaws.com/dev/
  ANY - https://9s9unqlpkk.execute-api.ap-northeast-1.amazonaws.com/dev/{proxy+}
functions:
  index: nestjs-sls-dynamo-lambda-dev-index
layers:
  None

Serverless: [ LayersPlugin ]: => Layers Info
... ○ function.index = layers.arn:aws:lambda:ap-northeast-1:*********:nestjs-sls-dynamo-lambda-dev-nodejs-default:4

 Error ---------------------------------------------------

  Error: Unable to setup base domain mappings for backend-api.dev.levena.link
      at ServerlessCustomDomain.<anonymous> (C:\Users\setup\work\private\nestjs-dynamo-graphsql-sls-sample\node_modules\serverless-domain-manager\dist\src\index.js:270:27)
      at Generator.throw (<anonymous>)
      at rejected (C:\Users\setup\work\private\nestjs-dynamo-graphsql-sls-sample\node_modules\serverless-domain-manager\dist\src\index.js:6:65)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:95:5)

     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:          win32
     Node Version:              14.17.1
     Framework Version:         2.59.0
     Plugin Version:            5.4.4
     SDK Version:               4.3.0
     Components Version:        3.17.1

Serverless: Deprecation warnings:

Support for "package.include" and "package.exclude" will be removed with next major release. Please use "package.patterns" instead
More Info: https://www.serverless.com/framework/docs/deprecations/#NEW_PACKAGE_PATTERNS

Resolution of lambda version hashes was improved with better algorithm, which will be used in next major release.
Switch to it now by setting "provider.lambdaHashingVersion" to "20201221"
More Info: https://www.serverless.com/framework/docs/deprecations/#LAMBDA_HASHING_VERSION_V2

 setup@DM200010  ~  work  private  nestjs-dynamo-graphsql-sls-sample  master  ERROR 
❯ sls deploy --aws-profile prv-sls --stage dev

Serverless: [ LayersPlugin ]: => default
... ○ Downloading package.json from bucket...
... ○ Comparing package.json dependencies...
... ○  No changes ! Using same layer arn: arn:aws:lambda:ap-northeast-1:*********:nestjs-sls-dynamo-lambda-dev-nodejs-default:4
... ○ Adding layers...
... ✓ function.index - arn:aws:lambda:ap-northeast-1:*********:nestjs-sls-dynamo-lambda-dev-nodejs-default:4

Serverless: Packaging service...
Serverless: Service files not changed. Skipping deployment...
Service Information
service: nestjs-sls-dynamo-lambda
stage: dev
region: ap-northeast-1
stack: nestjs-sls-dynamo-lambda-dev
resources: 12
api keys:
  None
endpoints:
  ANY - https://9s9unqlpkk.execute-api.ap-northeast-1.amazonaws.com/dev/
  ANY - https://9s9unqlpkk.execute-api.ap-northeast-1.amazonaws.com/dev/{proxy+}
functions:
  index: nestjs-sls-dynamo-lambda-dev-index
layers:
  None

Serverless: [ LayersPlugin ]: => Layers Info
... ○ function.index = layers.arn:aws:lambda:ap-northeast-1:*********:nestjs-sls-dynamo-lambda-dev-nodejs-default:4

 Error ---------------------------------------------------

  Error: Unable to setup base domain mappings for backend-api.dev.levena.link
      at ServerlessCustomDomain.<anonymous> (C:\Users\setup\work\private\nestjs-dynamo-graphsql-sls-sample\node_modules\serverless-domain-manager\dist\src\index.js:270:27)
      at Generator.throw (<anonymous>)
      at rejected (C:\Users\setup\work\private\nestjs-dynamo-graphsql-sls-sample\node_modules\serverless-domain-manager\dist\src\index.js:6:65)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:95:5)

     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:          win32
     Node Version:              14.17.1
     Framework Version:         2.59.0
     Plugin Version:            5.4.4
     SDK Version:               4.3.0
     Components Version:        3.17.1

Serverless: Deprecation warnings:

Support for "package.include" and "package.exclude" will be removed with next major release. Please use "package.patterns" instead
More Info: https://www.serverless.com/framework/docs/deprecations/#NEW_PACKAGE_PATTERNS

Resolution of lambda version hashes was improved with better algorithm, which will be used in next major release.
Switch to it now by setting "provider.lambdaHashingVersion" to "20201221"
More Info: https://www.serverless.com/framework/docs/deprecations/#LAMBDA_HASHING_VERSION_V2

 setup@DM200010  ~  work  private  nestjs-dynamo-graphsql-sls-sample  master  ERROR 
❯ sls deploy --aws-profile prv-sls --stage dev

Serverless: [ LayersPlugin ]: => default
... ○ Downloading package.json from bucket...
... ○ Comparing package.json dependencies...
... ○  No changes ! Using same layer arn: arn:aws:lambda:ap-northeast-1:*********:nestjs-sls-dynamo-lambda-dev-nodejs-default:4
... ○ Adding layers...
... ✓ function.index - arn:aws:lambda:ap-northeast-1:*********:nestjs-sls-dynamo-lambda-dev-nodejs-default:4

Serverless: Packaging service...
Serverless: Uploading CloudFormation file to S3...
Serverless: Uploading artifacts...
Serverless: Uploading service index.zip file to S3 (74.02 kB)...
Serverless: Validating template...
Serverless: Updating Stack...
Serverless: Checking Stack update progress...
..........
Serverless: Stack update finished...
Service Information
service: nestjs-sls-dynamo-lambda
stage: dev
region: ap-northeast-1
stack: nestjs-sls-dynamo-lambda-dev
resources: 12
api keys:
  None
endpoints:
  ANY - https://9s9unqlpkk.execute-api.ap-northeast-1.amazonaws.com/dev/
  ANY - https://9s9unqlpkk.execute-api.ap-northeast-1.amazonaws.com/dev/{proxy+}
functions:
  index: nestjs-sls-dynamo-lambda-dev-index
layers:
  None

Serverless: [ LayersPlugin ]: => Layers Info
... ○ function.index = layers.arn:aws:lambda:ap-northeast-1:*********:nestjs-sls-dynamo-lambda-dev-nodejs-default:4

 Error ---------------------------------------------------

  Error: Unable to setup base domain mappings for backend-api.dev.levena.link
      at ServerlessCustomDomain.<anonymous> (C:\Users\setup\work\private\nestjs-dynamo-graphsql-sls-sample\node_modules\serverless-domain-manager\dist\src\index.js:270:27)
      at Generator.throw (<anonymous>)
      at rejected (C:\Users\setup\work\private\nestjs-dynamo-graphsql-sls-sample\node_modules\serverless-domain-manager\dist\src\index.js:6:65)
      at processTicksAndRejections (internal/process/task_queues.js:95:5)

     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:          win32
     Node Version:              14.17.1
     Framework Version:         2.59.0
     Plugin Version:            5.4.4
     SDK Version:               4.3.0
     Components Version:        3.17.1

Serverless: Deprecation warnings:

Support for "package.include" and "package.exclude" will be removed with next major release. Please use "package.patterns" instead
More Info: https://www.serverless.com/framework/docs/deprecations/#NEW_PACKAGE_PATTERNS

Resolution of lambda version hashes was improved with better algorithm, which will be used in next major release.
Switch to it now by setting "provider.lambdaHashingVersion" to "20201221"
More Info: https://www.serverless.com/framework/docs/deprecations/#LAMBDA_HASHING_VERSION_V2

 setup@DM200010  ~  work  private  nestjs-dynamo-graphsql-sls-sample  master  ERROR 
❯ sls create_domain --aws-profile prv-sls --stage dev
Serverless Domain Manager: Info: Custom domain backend-api.dev.levena.link already exists.
Serverless: Deprecation warnings:

Support for "package.include" and "package.exclude" will be removed with next major release. Please use "package.patterns" instead
More Info: https://www.serverless.com/framework/docs/deprecations/#NEW_PACKAGE_PATTERNS

Resolution of lambda version hashes was improved with better algorithm, which will be used in next major release.
Switch to it now by setting "provider.lambdaHashingVersion" to "20201221"
More Info: https://www.serverless.com/framework/docs/deprecations/#LAMBDA_HASHING_VERSION_V2

 setup@DM200010  ~  work  private  nestjs-dynamo-graphsql-sls-sample  master 
❯ sls deploy --aws-profile prv-sls --stage dev       

Serverless: [ LayersPlugin ]: => default
... ○ Downloading package.json from bucket...
... ○ Comparing package.json dependencies...
... ○  No changes ! Using same layer arn: arn:aws:lambda:ap-northeast-1:*********:nestjs-sls-dynamo-lambda-dev-nodejs-default:4
... ○ Adding layers...
... ✓ function.index - arn:aws:lambda:ap-northeast-1:*********:nestjs-sls-dynamo-lambda-dev-nodejs-default:4

Serverless: Packaging service...
Serverless: Service files not changed. Skipping deployment...
Service Information
service: nestjs-sls-dynamo-lambda
stage: dev
region: ap-northeast-1
stack: nestjs-sls-dynamo-lambda-dev
resources: 12
api keys:
  None
endpoints:
  ANY - https://9s9unqlpkk.execute-api.ap-northeast-1.amazonaws.com/dev/
  ANY - https://9s9unqlpkk.execute-api.ap-northeast-1.amazonaws.com/dev/{proxy+}
functions:
  index: nestjs-sls-dynamo-lambda-dev-index
layers:
  None

Serverless: [ LayersPlugin ]: => Layers Info
... ○ function.index = layers.arn:aws:lambda:ap-northeast-1:*********:nestjs-sls-dynamo-lambda-dev-nodejs-default:4

 Error ---------------------------------------------------

  Error: Unable to setup base domain mappings for backend-api.dev.levena.link
      at ServerlessCustomDomain.<anonymous> (C:\Users\setup\work\private\nestjs-dynamo-graphsql-sls-sample\node_modules\serverless-domain-manager\dist\src\index.js:270:27)
      at Generator.throw (<anonymous>)
      at rejected (C:\Users\setup\work\private\nestjs-dynamo-graphsql-sls-sample\node_modules\serverless-domain-manager\dist\src\index.js:6:65)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:95:5)

     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:          win32
     Node Version:              14.17.1
     Framework Version:         2.59.0
     Plugin Version:            5.4.4
     SDK Version:               4.3.0
     Components Version:        3.17.1

Serverless: Deprecation warnings:

Support for "package.include" and "package.exclude" will be removed with next major release. Please use "package.patterns" instead
More Info: https://www.serverless.com/framework/docs/deprecations/#NEW_PACKAGE_PATTERNS

Resolution of lambda version hashes was improved with better algorithm, which will be used in next major release.
Switch to it now by setting "provider.lambdaHashingVersion" to "20201221"
More Info: https://www.serverless.com/framework/docs/deprecations/#LAMBDA_HASHING_VERSION_V2

 setup@DM200010  ~  work  private  nestjs-dynamo-graphsql-sls-sample  master  ERROR 
❯ sls deploy --aws-profile prv-sls --stage dev^C
 setup@DM200010  ~  work  private  nestjs-dynamo-graphsql-sls-sample  master  ERROR 
❯ $Env:SLS_DEBUG='true'
 setup@DM200010  ~  work  private  nestjs-dynamo-graphsql-sls-sample  master 
❯ sls deploy --aws-profile prv-sls --stage dev
Serverless: Load command interactiveCli
Serverless: Load command config
Serverless: Load command config:credentials
Serverless: Load command config:tabcompletion
Serverless: Load command config:tabcompletion:install
Serverless: Load command config:tabcompletion:uninstall
Serverless: Load command create
Serverless: Load command install
Serverless: Load command package
Serverless: Load command deploy
Serverless: Load command deploy:function
Serverless: Load command deploy:list
Serverless: Load command deploy:list:functions
Serverless: Load command invoke
Serverless: Load command invoke:local
Serverless: Load command info
Serverless: Load command logs
Serverless: Load command metrics
Serverless: Load command print
Serverless: Load command remove
Serverless: Load command rollback
Serverless: Load command rollback:function
Serverless: Load command slstats
Serverless: Load command plugin
Serverless: Load command plugin
Serverless: Load command plugin:install
Serverless: Load command plugin
Serverless: Load command plugin:uninstall
Serverless: Load command plugin
Serverless: Load command plugin:list
Serverless: Load command plugin
Serverless: Load command plugin:search
Serverless: Load command config
Serverless: Load command config:credentials
Serverless: Load command upgrade
Serverless: Load command uninstall
Serverless: Load command offline
Serverless: Load command offline:start
Serverless: Load command create_domain
Serverless: Load command delete_domain
Serverless: Load command login
Serverless: Load command logout
Serverless: Load command generate-event
Serverless: Load command test
Serverless: Load command dashboard
Serverless: Load command output
Serverless: Load command output:get
Serverless: Load command output:list
Serverless: Load command param
Serverless: Load command param:get
Serverless: Load command param:list
Serverless: Load command studio
Serverless: Skipping variables resolution with old resolver (new resolver reported no more variables to resolve)
Serverless: Invoke deploy
Serverless: Invoke package
Serverless: Invoke aws:common:validate
Serverless: Invoke aws:common:cleanupTempDir

Serverless: [ LayersPlugin ]: => default
... ○ Downloading package.json from bucket...
... ○ Comparing package.json dependencies...
... ○  No changes ! Using same layer arn: arn:aws:lambda:ap-northeast-1:*********:nestjs-sls-dynamo-lambda-dev-nodejs-default:4
... ○ Adding layers...
... ✓ function.index - arn:aws:lambda:ap-northeast-1:*********:nestjs-sls-dynamo-lambda-dev-nodejs-default:4

Serverless: Packaging service...
Serverless: Invoke aws:package:finalize
Serverless: Invoke aws:common:moveArtifactsToPackage
Serverless: Invoke aws:common:validate
Serverless: Invoke aws:deploy:deploy
Serverless: Service files not changed. Skipping deployment...
Serverless: Invoke aws:info
Service Information
service: nestjs-sls-dynamo-lambda
stage: dev
region: ap-northeast-1
stack: nestjs-sls-dynamo-lambda-dev
resources: 12
api keys:
  None
endpoints:
  ANY - https://9s9unqlpkk.execute-api.ap-northeast-1.amazonaws.com/dev/
  ANY - https://9s9unqlpkk.execute-api.ap-northeast-1.amazonaws.com/dev/{proxy+}
functions:
  index: nestjs-sls-dynamo-lambda-dev-index
layers:
  None

Serverless: [ LayersPlugin ]: => Layers Info
... ○ function.index = layers.arn:aws:lambda:ap-northeast-1:*********:nestjs-sls-dynamo-lambda-dev-nodejs-default:4

Serverless Domain Manager: Error: backend-api.dev.levena.link:  Error: Failed to find a stack nestjs-sls-dynamo-lambda-${opt.stage, 'dev'}

Serverless Domain Manager: Error: backend-api.dev.levena.link:  Error: Failed to find CloudFormation resources for backend-api.dev.levena.link

 Error ---------------------------------------------------

  Error: Unable to setup base domain mappings for backend-api.dev.levena.link
      at ServerlessCustomDomain.<anonymous> (C:\Users\setup\work\private\nestjs-dynamo-graphsql-sls-sample\node_modules\serverless-domain-manager\dist\src\index.js:270:27)
      at Generator.throw (<anonymous>)
      at rejected (C:\Users\setup\work\private\nestjs-dynamo-graphsql-sls-sample\node_modules\serverless-domain-manager\dist\src\index.js:6:65)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:95:5)

  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Issues:        forum.serverless.com

  Your Environment Information ---------------------------
     Operating System:          win32
     Node Version:              14.17.1
     Framework Version:         2.59.0
     Plugin Version:            5.4.4
     SDK Version:               4.3.0
     Components Version:        3.17.1

Serverless: Deprecation warnings:

Support for "package.include" and "package.exclude" will be removed with next major release. Please use "package.patterns" instead
More Info: https://www.serverless.com/framework/docs/deprecations/#NEW_PACKAGE_PATTERNS

Resolution of lambda version hashes was improved with better algorithm, which will be used in next major release.
Switch to it now by setting "provider.lambdaHashingVersion" to "20201221"
More Info: https://www.serverless.com/framework/docs/deprecations/#LAMBDA_HASHING_VERSION_V2

 setup@DM200010  ~  work  private  nestjs-dynamo-graphsql-sls-sample  master  ERROR 
❯ sls deploy --aws-profile prv-sls --stage dev
Serverless: To ensure safe major version upgrades ensure "frameworkVersion" setting in service configuration (recommended setup: "frameworkVersion: ^2.59.0")

Serverless: Load command interactiveCli
Serverless: Load command config
Serverless: Load command config:credentials
Serverless: Load command config:tabcompletion
Serverless: Load command config:tabcompletion:install
Serverless: Load command config:tabcompletion:uninstall
Serverless: Load command create
Serverless: Load command install
Serverless: Load command package
Serverless: Load command deploy
Serverless: Load command deploy:function
Serverless: Load command deploy:list
Serverless: Load command deploy:list:functions
Serverless: Load command invoke
Serverless: Load command invoke:local
Serverless: Load command info
Serverless: Load command logs
Serverless: Load command metrics
Serverless: Load command print
Serverless: Load command remove
Serverless: Load command rollback
Serverless: Load command rollback:function
Serverless: Load command slstats
Serverless: Load command plugin
Serverless: Load command plugin
Serverless: Load command plugin:install
Serverless: Load command plugin
Serverless: Load command plugin:uninstall
Serverless: Load command plugin
Serverless: Load command plugin:list
Serverless: Load command plugin
Serverless: Load command plugin:search
Serverless: Load command config
Serverless: Load command config:credentials
Serverless: Load command upgrade
Serverless: Load command uninstall
Serverless: Load command offline
Serverless: Load command offline:start
Serverless: Load command create_domain
Serverless: Load command delete_domain
Serverless: Load command login
Serverless: Load command logout
Serverless: Load command generate-event
Serverless: Load command test
Serverless: Load command dashboard
Serverless: Load command output
Serverless: Load command output:get
Serverless: Load command output:list
Serverless: Load command param
Serverless: Load command param:get
Serverless: Load command param:list
Serverless: Load command studio
Serverless: Skipping variables resolution with old resolver (new resolver reported no more variables to resolve)
Serverless: Invoke deploy
Serverless: Invoke package
Serverless: Invoke aws:common:validate
Serverless: Invoke aws:common:cleanupTempDir

Serverless: [ LayersPlugin ]: => default
... ○ Downloading package.json from bucket...
... ○ Comparing package.json dependencies...
... ○  No changes ! Using same layer arn: arn:aws:lambda:ap-northeast-1:*********:nestjs-sls-dynamo-lambda-dev-nodejs-default:4
... ○ Adding layers...
... ✓ function.index - arn:aws:lambda:ap-northeast-1:*********:nestjs-sls-dynamo-lambda-dev-nodejs-default:4

Serverless: Packaging service...
Serverless: Invoke aws:package:finalize
Serverless: Invoke aws:common:moveArtifactsToPackage
Serverless: Invoke aws:common:validate
Serverless: Invoke aws:deploy:deploy
Serverless: Service files not changed. Skipping deployment...
Serverless: Invoke aws:info
Service Information
service: nestjs-sls-dynamo-lambda
stage: dev
region: ap-northeast-1
stack: nestjs-sls-dynamo-lambda-dev
resources: 12
api keys:
  None
endpoints:
  ANY - https://9s9unqlpkk.execute-api.ap-northeast-1.amazonaws.com/dev/
  ANY - https://9s9unqlpkk.execute-api.ap-northeast-1.amazonaws.com/dev/{proxy+}
functions:
  index: nestjs-sls-dynamo-lambda-dev-index
layers:
  None

Serverless: [ LayersPlugin ]: => Layers Info
... ○ function.index = layers.arn:aws:lambda:ap-northeast-1:*********:nestjs-sls-dynamo-lambda-dev-nodejs-default:4

Serverless Domain Manager: Error: backend-api.dev.levena.link:  Error: Failed to find a stack nestjs-sls-dynamo-lambda-${opt.stage, 'dev'}

Serverless Domain Manager: Error: backend-api.dev.levena.link:  Error: Failed to find CloudFormation resources for backend-api.dev.levena.link

 Error ---------------------------------------------------

  Error: Unable to setup base domain mappings for backend-api.dev.levena.link
      at ServerlessCustomDomain.<anonymous> (C:\Users\setup\work\private\nestjs-dynamo-graphsql-sls-sample\node_modules\serverless-domain-manager\dist\src\index.js:270:27)
      at Generator.throw (<anonymous>)
      at rejected (C:\Users\setup\work\private\nestjs-dynamo-graphsql-sls-sample\node_modules\serverless-domain-manager\dist\src\index.js:6:65)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:95:5)

  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Issues:        forum.serverless.com

  Your Environment Information ---------------------------
     Operating System:          win32
     Node Version:              14.17.1
     Framework Version:         2.59.0
     Plugin Version:            5.4.4
     SDK Version:               4.3.0
     Components Version:        3.17.1

Serverless: Deprecation warnings:

Support for "package.include" and "package.exclude" will be removed with next major release. Please use "package.patterns" instead
More Info: https://www.serverless.com/framework/docs/deprecations/#NEW_PACKAGE_PATTERNS

Resolution of lambda version hashes was improved with better algorithm, which will be used in next major release.
Switch to it now by setting "provider.lambdaHashingVersion" to "20201221"
More Info: https://www.serverless.com/framework/docs/deprecations/#LAMBDA_HASHING_VERSION_V2

 setup@DM200010  ~  work  private  nestjs-dynamo-graphsql-sls-sample  master  ERROR 
❯ $Env:SLS_DEBUG='true'
 setup@DM200010  ~  work  private  nestjs-dynamo-graphsql-sls-sample  master 
❯ sls deploy --aws-profile prv-sls --stage dev
Serverless: To ensure safe major version upgrades ensure "frameworkVersion" setting in service configuration (recommended setup: "frameworkVersion: ^2.59.0")

Serverless: Load command interactiveCli
Serverless: Load command config
Serverless: Load command config:credentials
Serverless: Load command config:tabcompletion
Serverless: Load command config:tabcompletion:install
Serverless: Load command config:tabcompletion:uninstall
Serverless: Load command create
Serverless: Load command install
Serverless: Load command package
Serverless: Load command deploy
Serverless: Load command deploy:function
Serverless: Load command deploy:list
Serverless: Load command deploy:list:functions
Serverless: Load command invoke
Serverless: Load command invoke:local
Serverless: Load command info
Serverless: Load command logs
Serverless: Load command metrics
Serverless: Load command print
Serverless: Load command remove
Serverless: Load command rollback
Serverless: Load command rollback:function
Serverless: Load command slstats
Serverless: Load command plugin
Serverless: Load command plugin
Serverless: Load command plugin:install
Serverless: Load command plugin
Serverless: Load command plugin:uninstall
Serverless: Load command plugin
Serverless: Load command plugin:list
Serverless: Load command plugin
Serverless: Load command plugin:search
Serverless: Load command config
Serverless: Load command config:credentials
Serverless: Load command upgrade
Serverless: Load command uninstall
Serverless: Load command offline
Serverless: Load command offline:start
Serverless: Load command create_domain
Serverless: Load command delete_domain
Serverless: Load command login
Serverless: Load command logout
Serverless: Load command generate-event
Serverless: Load command test
Serverless: Load command dashboard
Serverless: Load command output
Serverless: Load command output:get
Serverless: Load command output:list
Serverless: Load command param
Serverless: Load command param:get
Serverless: Load command param:list
Serverless: Load command studio
Serverless: Skipping variables resolution with old resolver (new resolver reported no more variables to resolve)
Serverless: Invoke deploy
Serverless: Invoke package
Serverless: Invoke aws:common:validate
Serverless: Invoke aws:common:cleanupTempDir

Serverless: [ LayersPlugin ]: => default
... ○ Downloading package.json from bucket...
... ○ Comparing package.json dependencies...
... ○  No changes ! Using same layer arn: arn:aws:lambda:ap-northeast-1:*********:nestjs-sls-dynamo-lambda-dev-nodejs-default:4
... ○ Adding layers...
... ✓ function.index - arn:aws:lambda:ap-northeast-1:*********:nestjs-sls-dynamo-lambda-dev-nodejs-default:4

Serverless: Packaging service...
Serverless: Invoke aws:package:finalize
Serverless: Invoke aws:common:moveArtifactsToPackage
Serverless: Invoke aws:common:validate
Serverless: Invoke aws:deploy:deploy
Serverless: Uploading CloudFormation file to S3...
Serverless: Uploading artifacts...
Serverless: Uploading service index.zip file to S3 (74.02 kB)...
Serverless: Validating template...
Serverless: Updating Stack...
Serverless: Checking Stack update progress...
..............
Serverless: Stack update finished...
Serverless: Invoke aws:info
Service Information
service: nestjs-sls-dynamo-lambda
stage: dev
region: ap-northeast-1
stack: nestjs-sls-dynamo-lambda-dev
resources: 12
api keys:
  None
endpoints:
  ANY - https://9s9unqlpkk.execute-api.ap-northeast-1.amazonaws.com/dev/
  ANY - https://9s9unqlpkk.execute-api.ap-northeast-1.amazonaws.com/dev/{proxy+}
functions:
  index: nestjs-sls-dynamo-lambda-dev-index
layers:
  None

Serverless: [ LayersPlugin ]: => Layers Info
... ○ function.index = layers.arn:aws:lambda:ap-northeast-1:*********:nestjs-sls-dynamo-lambda-dev-nodejs-default:4

Serverless Domain Manager: Error: backend-api.dev.levena.link:  Error: Failed to find a stack nestjs-sls-dynamo-lambda-dev

Serverless Domain Manager: Error: backend-api.dev.levena.link:  Error: Failed to find CloudFormation resources for backend-api.dev.levena.link

 Error ---------------------------------------------------

  Error: Unable to setup base domain mappings for backend-api.dev.levena.link
      at ServerlessCustomDomain.<anonymous> (C:\Users\setup\work\private\nestjs-dynamo-graphsql-sls-sample\node_modules\serverless-domain-manager\dist\src\index.js:270:27)
      at Generator.throw (<anonymous>)
      at rejected (C:\Users\setup\work\private\nestjs-dynamo-graphsql-sls-sample\node_modules\serverless-domain-manager\dist\src\index.js:6:65)
      at processTicksAndRejections (internal/process/task_queues.js:95:5)

  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Issues:        forum.serverless.com

  Your Environment Information ---------------------------
     Operating System:          win32
     Node Version:              14.17.1
     Framework Version:         2.59.0
     Plugin Version:            5.4.4
     SDK Version:               4.3.0
     Components Version:        3.17.1

Serverless: Deprecation warnings:

Support for "package.include" and "package.exclude" will be removed with next major release. Please use "package.patterns" instead
More Info: https://www.serverless.com/framework/docs/deprecations/#NEW_PACKAGE_PATTERNS

Resolution of lambda version hashes was improved with better algorithm, which will be used in next major release.
Switch to it now by setting "provider.lambdaHashingVersion" to "20201221"
More Info: https://www.serverless.com/framework/docs/deprecations/#LAMBDA_HASHING_VERSION_V2

 setup@DM200010  ~  work  private  nestjs-dynamo-graphsql-sls-sample  feature/domain_name_serverless  ERROR 
❯ sls deploy --aws-profile prv-sls --stage dev
Serverless: To ensure safe major version upgrades ensure "frameworkVersion" setting in service configuration (recommended setup: "frameworkVersion: ^2.59.0")

Serverless: Load command interactiveCli
Serverless: Load command config
Serverless: Load command config:credentials
Serverless: Load command config:tabcompletion
Serverless: Load command config:tabcompletion:install
Serverless: Load command config:tabcompletion:uninstall
Serverless: Load command create
Serverless: Load command install
Serverless: Load command package
Serverless: Load command deploy
Serverless: Load command deploy:function
Serverless: Load command deploy:list
Serverless: Load command deploy:list:functions
Serverless: Load command invoke
Serverless: Load command invoke:local
Serverless: Load command info
Serverless: Load command logs
Serverless: Load command metrics
Serverless: Load command print
Serverless: Load command remove
Serverless: Load command rollback
Serverless: Load command rollback:function
Serverless: Load command slstats
Serverless: Load command plugin
Serverless: Load command plugin
Serverless: Load command plugin:install
Serverless: Load command plugin
Serverless: Load command plugin:uninstall
Serverless: Load command plugin
Serverless: Load command plugin:list
Serverless: Load command plugin
Serverless: Load command plugin:search
Serverless: Load command config
Serverless: Load command config:credentials
Serverless: Load command upgrade
Serverless: Load command uninstall
Serverless: Load command offline
Serverless: Load command offline:start
Serverless: Load command create_domain
Serverless: Load command delete_domain
Serverless: Load command login
Serverless: Load command logout
Serverless: Load command generate-event
Serverless: Load command test
Serverless: Load command dashboard
Serverless: Load command output
Serverless: Load command output:get
Serverless: Load command output:list
Serverless: Load command param
Serverless: Load command param:get
Serverless: Load command param:list
Serverless: Load command studio
Serverless: Skipping variables resolution with old resolver (new resolver reported no more variables to resolve)
Serverless: Invoke deploy
Serverless: Invoke package
Serverless: Invoke aws:common:validate
Serverless: Invoke aws:common:cleanupTempDir

Serverless: [ LayersPlugin ]: => default
... ○ Downloading package.json from bucket...
... ○ Comparing package.json dependencies...
... ○  No changes ! Using same layer arn: arn:aws:lambda:ap-northeast-1:*********:nestjs-sls-dynamo-lambda-dev-nodejs-default:4
... ○ Adding layers...
... ✓ function.index - arn:aws:lambda:ap-northeast-1:*********:nestjs-sls-dynamo-lambda-dev-nodejs-default:4

Serverless: Packaging service...
Serverless: Invoke aws:package:finalize
Serverless: Invoke aws:common:moveArtifactsToPackage
Serverless: Invoke aws:common:validate
Serverless: Invoke aws:deploy:deploy
Serverless: Uploading CloudFormation file to S3...
Serverless: Uploading artifacts...
Serverless: Uploading service index.zip file to S3 (74.02 kB)...
Serverless: Validating template...
Serverless: Updating Stack...
Serverless: Checking Stack update progress...
..........
Serverless: Stack update finished...
Serverless: Invoke aws:info
Service Information
service: nestjs-sls-dynamo-lambda
stage: dev
region: ap-northeast-1
stack: nestjs-sls-dynamo-lambda-dev
resources: 12
api keys:
  None
endpoints:
  ANY - https://9s9unqlpkk.execute-api.ap-northeast-1.amazonaws.com/dev/
  ANY - https://9s9unqlpkk.execute-api.ap-northeast-1.amazonaws.com/dev/{proxy+}
functions:
  index: nestjs-sls-dynamo-lambda-dev-index
layers:
  None

Serverless: [ LayersPlugin ]: => Layers Info
... ○ function.index = layers.arn:aws:lambda:ap-northeast-1:*********:nestjs-sls-dynamo-lambda-dev-nodejs-default:4

Serverless Domain Manager: Info: Found apiId: 9s9unqlpkk for backend-api.dev.levena.link
Serverless Domain Manager: Info: Created API mapping '(none)' for backend-api.dev.levena.link
Serverless Domain Manager: Summary: Distribution Domain Name
Serverless Domain Manager:    Domain Name: backend-api.dev.levena.link
Serverless Domain Manager:    Target Domain: d3dycp2iorjy43.cloudfront.net
Serverless Domain Manager:    Hosted Zone Id: Z2FDTNDATAQYW2
Serverless: Invoke aws:deploy:finalize
Serverless: Removing old service artifacts from S3...
Serverless: Deprecation warnings:

Support for "package.include" and "package.exclude" will be removed with next major release. Please use "package.patterns" instead
More Info: https://www.serverless.com/framework/docs/deprecations/#NEW_PACKAGE_PATTERNS

Resolution of lambda version hashes was improved with better algorithm, which will be used in next major release.
Switch to it now by setting "provider.lambdaHashingVersion" to "20201221"
More Info: https://www.serverless.com/framework/docs/deprecations/#LAMBDA_HASHING_VERSION_V2

Monitor Express APIs by route with the Serverless Dashboard: run "serverless"