99x / 99x/serverless-dynamodb-local

Plugin not working after upgrading to SLS v3

Open
#281 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
621
Forks
232
PR merge metrics
No merged PRs in 30d

Description

**Actual Behaviour**

After updating serverless to v3, I get the following error:

```
npx sls dynamodb migrate --stage test
Environment: darwin, node 14.18.1, framework 3.7.1 (local), plugin 6.1.5, SDK 4.3.2
Docs: docs.serverless.com
Support: forum.serverless.com
Bugs: github.com/serverless/serverless/issues

Error:
Cannot resolve serverless.yml: Variables resolution errored with:
- Cannot resolve variable at "provider.environment": Value not found at "file" source
```

**Expected Behaviour**

Start dynamodb local as usual

**Steps to reproduce it**

Install serverless@3
run `sls dynamodb migrate``

**LogCat for the issue**

**Screenshots of the issue**

**Would you like to work on the issue?**

Contributor guide

Open the contributing guide

Research direction

Reproduce with `npx sls dynamodb migrate --stage test` under Serverless 3.7.1 and inspect how the plugin handles the `serverless.yml` `provider.environment` file variable. Done means the migration command starts DynamoDB Local as expected without the variables-resolution error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, javascript, node.js
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.