99x / dynamodb-localhost

Dynamodb localhost runner for development and testing
MIT License
35 stars 92 forks source link

403 when downloading latest dynamodb tar #37

Closed mitchellsimoens closed 5 years ago

mitchellsimoens commented 5 years ago

Looks like http://s3-us-west-2.amazonaws.com/dynamodb-local/dynamodb_local_latest.tar.gz was just released today but is returning a 403. I can see the entry:

<Contents>
  <Key>dynamodb_local_latest.tar.gz</Key>
  <LastModified>2019-02-06T12:51:06.000Z</LastModified>
  <ETag>"619b49fdfd32827c7b3c69873458100f-3"</ETag>
  <Size>17464086</Size>
  <StorageClass>STANDARD</StorageClass>
</Contents>
mitchellsimoens commented 5 years ago

To work around this locally, I just edit node_modules/dynamodb-localhost/dynamodb/config.json to be:

{
    "setup": {
        "download_url": "http://s3-us-west-2.amazonaws.com/dynamodb-local/dynamodb_local_2019-02-04.tar.gz",
        "install_path": "/bin",
        "jar": "DynamoDBLocal.jar"
    },
    "start": {
        "port": 8000
    }
}
yashutanna commented 5 years ago

+1

worked fine all day. and then suddenly broke.. quite a lame situation to find yourself in.

cool fix for now though.

mitchellsimoens commented 5 years ago

If this isn't fixed as soon as you'd like, always a way to patch this like in a CI too using https://github.com/ds300/patch-package

mitchellsimoens commented 5 years ago

Just an FYI, looks like this is working for me today. Closing.