Closed cc189 closed 3 years ago
AWS emulation assumption is valid. Update details in the doc would be helpful.
Resolved the error by create table and then call API:
aws dynamodb create-table \
--endpoint-url http://localhost:4566 \
--table-name short-url-table \
--attribute-definitions \
AttributeName=URLHash,AttributeType=S \
--key-schema \
AttributeName=URLHash,KeyType=HASH \
--provisioned-throughput \
ReadCapacityUnits=10,WriteCapacityUnits=5
When you talked
AWS emulation
in the README, what exactly are you referring to? Can you give some more details?I have the gradle port config:
And tried some possible
AWS emulation
:Localstack in docker from Github/Localstack
docker run --rm -p 4566:4566 localstack/localstack -e "SERVICES=dynamodb"
DynamoDB in docker from AWS doc
I was able to talk with DynamoDB with
aws-cli
:But I get error message from Ktor API call: