Open berni-mad opened 1 year ago
Fairly sure they removed the flag in v11 https://github.com/dherault/serverless-offline/releases/tag/v11.0.0 but seems like you can specify it in the config still.
@Lyrete is correct. The docs you linked to (https://www.serverless.com/plugins/serverless-offline) tripped me up and are out of date.
See this thread: https://github.com/dherault/serverless-offline/issues/1608#issuecomment-1306200311
Bug Report
Current Behavior
I did an upgrade of the plugin from version 6 to version 12. With version 6, the following command would run without any issues.
serverless offline start -s local --host=0.0.0.0 --apiKey local
Now, with version 12, the plugin says that
--apiKey
is not a valid option, even though is still present in the latest documentation.(https://www.serverless.com/plugins/serverless-offline)
Any idea why? If this option has been removed, could you please update the documentation accordingly and provide an alternative way to set up an apiKey?
Thanks,
Bernat