Open
Description
Bug Report
Getting the following error:
Invalid variable reference syntax for variable . You can only reference env vars, options, & files. You can check our docs for more info.
This happens with the latest npm install --save-dev serverless-step-functions
-> [email protected]
version: [email protected]
does not have this issue.
serverless --version
Framework Core: 2.28.3
Plugin: 4.4.3
SDK: 2.3.2
Components: 3.7.1
Description
In very simple terms, this is my serverless.yml:
service: test-step-function
frameworkVersion: '2'
provider:
name: aws
runtime: python3.8
lambdaHashingVersion: 20201221
plugins:
- serverless-step-functions
functions:
hello:
handler: handler.hello
If the plugin section is commented out, the deployment goes through without a hitch. The absence of a stepFunction
section is not a problem, nor it is needed. Simply including the plugin reference should not cause this to crash.