docker-aws-sam-local icon indicating copy to clipboard operation
docker-aws-sam-local copied to clipboard

Example for docker-compose

Open GeoffreyBooth opened this issue 7 years ago • 3 comments

Resolves #1.

GeoffreyBooth avatar Nov 01 '17 18:11 GeoffreyBooth

Saved me some troubleshooting. 👍

spockNinja avatar Dec 10 '17 21:12 spockNinja

Related, in order to get links to work to a running dynamodb-local container, I had to also add the following:

services:
  aws-sam-local:
    ...
    links:
      dynamodb:dynamodb

    command: ... --docker-network [project-name]_default

spockNinja avatar Dec 10 '17 22:12 spockNinja

looks like cnadiminti/aws-sam-local image only supports sam local invoke and sam local start-api so you cannot use sam local start-lambda with it

Ghilteras avatar Jun 12 '19 23:06 Ghilteras