Open
Description
I am just getting started with serverless-aws-alias. But as soon as I include this plugin my build fails
Version: 1.8.0
Command: sls deploy
Error Details
Serverless Error ---------------------------------------
Export 'projectName-stageName-ServerlessAliasReference' does not exist.
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Issues: forum.serverless.com
Your Environment Information ---------------------------
Operating System: linux
Node Version: 12.18.2
Framework Version: 2.21.1
Plugin Version: 4.4.2
SDK Version: 2.3.2
Components Version: 3.6.0
Serverless.yaml
service: projectName
frameworkVersion: '2'
plugins:
- serverless-vpc-discovery
- serverless-aws-alias
custom: ${file(../config-serverless/config.yml)}
package:
individually: true
exclude:
- ".*/**"
provider:
name: aws
runtime: nodejs12.x
lambdaHashingVersion: 20201221
stage: ${self:custom.stage}
region: ${self:custom.region}
functions:
function1:
handler: lambdas/function1/function1.function1
layers:
- {Ref: CommonLambdaLayer}
package:
include:
- lambdas/elasticStatus/**
layers:
common:
path: layers/common
name: common-${self:provider.stage}
description: A common wrapper for all the helios code
package:
include:
- layers/common/**
This may be related to this issue: #181 and #186
I also applied the fix provided by @Enase in here #186 (comment) but that also did not help.
One of issue tagged here mention here about roles, and also fix provided by @Enase is also for roles. But I am not mentioning role at function level or at provider level. Is that mandatory?
Metadata
Metadata
Assignees
Labels
No labels