serverless-dynamodb-local icon indicating copy to clipboard operation
serverless-dynamodb-local copied to clipboard

Args conflict with serverless offline

Open durkode opened this issue 8 years ago • 1 comments
trafficstars

I want to run serverless offline on a port that is not the default. Currently if I run

sls offline

everything is brought up correctly. However if I run

sls offline --port 3541

with the aim of launching the serverless offline API I have written on port 3541, DynamoDB will pick the port arg up as its own and launch on port 3541 instead. It would be great if this conflict could be resolved. I don't know how serverless-dynamodb-local works extremely well, but it would be good if it didn't pick up args when run via sls offline (i.e. all config is picked up only from serverless.yml instead in this case), or if the args could be named in such a way that they do not collide with those for sls offline.

durkode avatar May 08 '17 03:05 durkode

I would prefer a common prefix for the plugin's command options like --dynamodb-port.

HyperBrain avatar Aug 23 '17 10:08 HyperBrain