Category : amazon-dynamodb

I have a docker-compose.yml file that starts two services: amazon/dynamodb-local on 8000 port and django-service. django-service runs tests that are dependent on dynamodb-local. Here is working docker-compose.yml: version: ‘3.8’ services: dynamodb-local: image: "amazon/dynamodb-local:latest" container_name: dynamodb-local ports: – "8000:8000" django-service: depends_on: – dynamodb-local image: django-service build: dockerfile: Dockerfile context: . env_file: – envs/tests.env volumes: – ./:/app ..

Read more

I have application what uses DynamoDB. I raise Dynamo with docker and work with it using DynamoDbClient. Actually, I have been using docker for dynamo for some time. I used testcontainers lib and created GenericContainer with "amazon/dynamodb-local:latest" image. And all was fine. But recently I started using other AWS technologies such as S3 and SQS, ..

Read more

Currently I have a local image of amazon/dynamodb-local . Whenever I try to perform an update operation on the database, it creates a duplicate row instead of updating the existing record My table definition is: { TableName: "commission", KeySchema: [ { AttributeName: "public_key", KeyType: "HASH" }, //Partition key ], AttributeDefinitions: [{ AttributeName: "public_key", AttributeType: "S" ..

Read more