99x / 99x/serverless-dynamodb-local

Getting a 403 on http://s3-us-west-2.amazonaws.com/dynamodb-local/dynamodb_local_latest.tar.gz when trying to install dynamodb local

Open
#209 16 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
621
Forks
232
PR merge metrics
No merged PRs in 30d

Description

**Actual Behaviour**

when trying to stall dynamodb local using `sls dynamodb install`, I get an error:

```
Error: Error getting DynamoDb local latest tar.gz location undefined: 403
```

This only started happening 10 minutes ago and is failing on all previously working branches of my code as well. which leads me to believe that the issue is not local

**Expected Behaviour**

latest dynamodb should install

**Steps to reproduce it**

sample package.json file
```
{
"version": "0.1.0",
"private": true,
"dependencies": {
"apollo-boost": "^0.1.23",
"apollo-server-express": "^2.3.1",
"aws-sdk": "^2.392.0",
"cookie-parser": "~1.4.3",
"cors": "^2.8.5",
"debug": "~2.6.9",
"dynamodb-localhost": "^0.0.7",
"dynamoose": "^1.5.0",
"express": "~4.16.0",
"express-graphql": "^0.7.1",
"graphql": "^14.1.0",
"graphql-playground-middleware-express": "^1.7.8",
"graphql-tag": "^2.10.0",
"graphql-upload": "^8.0.4",
"http-errors": "~1.6.2",
"jade": "~1.11.0",
"morgan": "~1.9.0",
"npx": "^10.2.0",
"s3-upload-stream": "^1.0.7",
"serverless": "^1.36.1",
"serverless-dynamodb-local": "0.2.25",
"serverless-http": "^1.8.0",
"serverless-offline": "^4.1.3",
"serverless-webpack": "^5.2.0",
"uuid": "^3.3.2"
},
"scripts": {
"start": "npx sls offline start",
"test": "jest",
"debug": "npx --node-arg=--inspect-brk sls offline start",
"deploy:uat": "npx sls deploy -v --stage uat",
"deploy:prod": "npx sls deploy -v --stage prod",
"install:dynamo": "npx sls dynamodb install",
"lint": "./node_modules/.bin/eslint '**/*.js' --fix"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.3.1",
"babel-jest": "^24.1.0",
"babel-loader": "^8.0.5",
"eslint": "^5.12.1",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-loader": "^2.1.1",
"eslint-plugin-import": "^2.15.0",
"jest": "^24.1.0",
"webpack": "^4.28.4",
"webpack-node-externals": "^1.7.2"
}
}
```

Contributor guide

Open the contributing guide

Research direction

Start with the `sls dynamodb install` command and trace how it resolves the DynamoDB Local archive URL, especially the failing S3 endpoint shown in the report. Reproduce the 403 and verify that the command can download and install the latest DynamoDB Local archive without the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, javascript
Domain
databases, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.