diff --git a/samcli/commands/local/lib/local_lambda_service.py b/samcli/commands/local/lib/local_lambda_service.py index 1c709793dd..0d493c2ff8 100644 --- a/samcli/commands/local/lib/local_lambda_service.py +++ b/samcli/commands/local/lib/local_lambda_service.py @@ -14,7 +14,7 @@ class LocalLambdaService: that are defined in a SAM file. """ - def __init__(self, lambda_invoke_context, port, host, ssl_context): + def __init__(self, lambda_invoke_context, port, host, ssl_context=None): """ Initialize the Local Lambda Invoke service.