Closed fsproru closed 4 years ago
@whummer thanks for helping out with the previous issue, now we're running into this one. Looks like some folks are running into a similar issue based on some existing Github issues in this repo. Let me know if you need any help.
Thanks for reporting @fsproru . LocalStack is currently single-region, i.e., the region configured on the client (us-west-1
in your sample) needs to match the region defined on the server (us-east-1
by default).
Can you please try starting LocalStack with these environment variables:
AWS_DEFAULT_REGION=us-west-1
DEFAULT_REGION=us-west-1
Please let me know if that works. Thanks
Thanks @whummer, switched the template to us-east-1
to use the default LocalStack region. Got a different kind of 500
error with a different log. Is this somehow related to LAMBDA_REMOTE_DOCKER=1
?
Starting local dev environment. CTRL-C to quit.
docker run -it -e LOCALSTACK_HOSTNAME="localhost" -e DEFAULT_REGION="us-east-1" -e TEST_AWS_ACCOUNT_ID="000000000000" -e LOCALSTACK_HOSTNAME="localhost" --rm --privileged --name localstack_main -p 8080:8080 -p 8081:8081 -p 443:443 -p 4567-4608:4567-4608 -v "/private/var/folders/s0/k_wc_qsn43d5t5n2_fv9bqxm0000gn/T/localstack:/tmp/localstack" -v "/var/run/docker.sock:/var/run/docker.sock" -e DOCKER_HOST="unix:///var/run/docker.sock" -e HOST_TMP_FOLDER="/private/var/folders/s0/k_wc_qsn43d5t5n2_fv9bqxm0000gn/T/localstack" "localstack/localstack"
Waiting for all LocalStack services to be ready
2019-11-25 06:44:07,741 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
2019-11-25 06:44:07,743 INFO supervisord started with pid 14
2019-11-25 06:44:08,752 INFO spawned: 'dashboard' with pid 20
2019-11-25 06:44:08,754 INFO spawned: 'infra' with pid 21
(. .venv/bin/activate; bin/localstack web)
2019-11-25 06:44:08,762 INFO success: dashboard entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
(. .venv/bin/activate; exec bin/localstack start --host)
2019-11-25 06:44:09,763 INFO success: infra entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2019-11-25T06:44:10:WARNING:bootstrap.py: Unable to load plugins from file /opt/code/localstack/.venv/lib/python3.7/site-packages/localstack_ext/plugins.py: No module named 'localstack_ext.utils.aws.aws_models'
Starting local dev environment. CTRL-C to quit.
Starting mock ES service (http port 4578)...
Starting local Elasticsearch (http port 4571)...
Waiting for all LocalStack services to be ready
Starting mock S3 (http port 4572)...
Starting mock SNS (http port 4575)...
Starting mock SQS (http port 4576)...
Starting mock SES (http port 4579)...
Starting mock SSM (http port 4583)...
Starting mock STS (http port 4592)...
Starting mock IAM (http port 4593)...
Starting mock Secrets Manager (http port 4584)...
Starting mock API Gateway (http port 4567)...
Starting mock DynamoDB (http port 4569)...
Starting mock DynamoDB Streams service (http port 4570)...
Starting mock Firehose service (http port 4573)...
Starting mock Lambda service (http port 4574)...
Starting mock Kinesis (http port 4568)...
Starting mock Redshift (http port 4577)...
Starting mock Route53 (http port 4580)...
Starting mock CloudFormation (http port 4581)...
Starting mock CloudWatch (http port 4582)...
Starting mock CloudWatch Events (http port 4587)...
Starting mock CloudWatch Logs (http port 4586)...
Starting mock StepFunctions (http port 4585)...
Starting mock EC2 (http port 4597)...
2019-11-25T06:44:13:INFO:localstack.multiserver: Starting multi API server process on port 51492
Waiting for all LocalStack services to be ready
Waiting for all LocalStack services to be ready
Waiting for all LocalStack services to be ready
Ready.
2019-11-25T06:45:05:WARNING:localstack.services.awslambda.lambda_api: Function not found: arn:aws:lambda:us-east-1:000000000000:function:commandeer-tanks-local-tankS3FileCreatedEvent
2019-11-25T06:45:05:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:05:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:07:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:08:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:14:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:14:WARNING:localstack.utils.cloudformation.template_deployer: Error calling <bound method ClientCreator._create_api_method.<locals>._api_call of <botocore.client.Lambda object at 0x7fd75d270190>> with params: {'FunctionName': 'commandeer-tanks-local-tankS3FileCreatedEvent', 'Runtime': 'nodejs10.x', 'Role': 'test_role', 'Handler': '.build/handlers/s3/tankS3FileCreatedHandler.process', 'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'Timeout': 900, 'MemorySize': 256} for resource: {'Type': 'AWS::Lambda::Function', 'Properties': {'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'FunctionName': 'commandeer-tanks-local-tankS3FileCreatedEvent', 'Handler': '.build/handlers/s3/tankS3FileCreatedHandler.process', 'MemorySize': 256, 'Role': 'arn:aws:iam::000000000000:role/commandeer-tanks-local-IamRoleLambdaExecution-ZPBFGVXAIEUY', 'Runtime': 'nodejs10.x', 'Timeout': 900, 'Tags': [{'Key': 'DEPARTMENT', 'Value': 'MACHINERY'}, {'Key': 'ENVIRONMENT', 'Value': 'DEV'}]}, 'DependsOn': ['TankS3FileCreatedEventLogGroup', 'IamRoleLambdaExecution']}
2019-11-25T06:45:14:ERROR:localstack.services.cloudformation.cloudformation_starter: Unable to parse and create resource "TankS3FileCreatedEventLambdaFunction": An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 173, in parse_and_create_resource
return _parse_and_create_resource(logical_id, resource_json, resources_map, region_name)
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 260, in _parse_and_create_resource
result = deploy_func(logical_id, resource_wrapped, stack_name=stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 713, in deploy_resource
result = deploy_resource_via_sdk_function(resource_id, resources, resource_type, func, stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 783, in deploy_resource_via_sdk_function
raise e
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 780, in deploy_resource_via_sdk_function
result = function(**params)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:19:WARNING:localstack.services.awslambda.lambda_api: Function not found: arn:aws:lambda:us-east-1:000000000000:function:commandeer-tanks-local-tankDynamoStreamEvent
2019-11-25T06:45:19:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:19:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:20:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:22:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:25:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:25:WARNING:localstack.utils.cloudformation.template_deployer: Error calling <bound method ClientCreator._create_api_method.<locals>._api_call of <botocore.client.Lambda object at 0x7fd75d270190>> with params: {'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Runtime': 'nodejs10.x', 'Role': 'test_role', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'Timeout': 900, 'MemorySize': 256} for resource: {'Type': 'AWS::Lambda::Function', 'Properties': {'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'MemorySize': 256, 'Role': 'arn:aws:iam::000000000000:role/commandeer-tanks-local-IamRoleLambdaExecution-ZPBFGVXAIEUY', 'Runtime': 'nodejs10.x', 'Timeout': 900, 'Tags': [{'Key': 'DEPARTMENT', 'Value': 'MACHINERY'}, {'Key': 'ENVIRONMENT', 'Value': 'DEV'}]}, 'DependsOn': ['TankDynamoStreamEventLogGroup', 'IamRoleLambdaExecution']}
2019-11-25T06:45:25:ERROR:localstack.services.cloudformation.cloudformation_starter: Unable to parse and create resource "TankDynamoStreamEventLambdaFunction": An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 173, in parse_and_create_resource
return _parse_and_create_resource(logical_id, resource_json, resources_map, region_name)
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 260, in _parse_and_create_resource
result = deploy_func(logical_id, resource_wrapped, stack_name=stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 713, in deploy_resource
result = deploy_resource_via_sdk_function(resource_id, resources, resource_type, func, stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 783, in deploy_resource_via_sdk_function
raise e
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 780, in deploy_resource_via_sdk_function
result = function(**params)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:25:WARNING:localstack.services.awslambda.lambda_api: Function not found: arn:aws:lambda:us-east-1:000000000000:function:commandeer-tanks-local-tankDynamoStreamEvent
2019-11-25T06:45:25:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:26:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:28:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:29:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:34:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:34:WARNING:localstack.utils.cloudformation.template_deployer: Error calling <bound method ClientCreator._create_api_method.<locals>._api_call of <botocore.client.Lambda object at 0x7fd75d270190>> with params: {'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Runtime': 'nodejs10.x', 'Role': 'test_role', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'Timeout': 900, 'MemorySize': 256} for resource: {'Type': 'AWS::Lambda::Function', 'Properties': {'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'MemorySize': 256, 'Role': 'arn:aws:iam::000000000000:role/commandeer-tanks-local-IamRoleLambdaExecution-ZPBFGVXAIEUY', 'Runtime': 'nodejs10.x', 'Timeout': 900, 'Tags': [{'Key': 'DEPARTMENT', 'Value': 'MACHINERY'}, {'Key': 'ENVIRONMENT', 'Value': 'DEV'}]}, 'DependsOn': ['TankDynamoStreamEventLogGroup', 'IamRoleLambdaExecution']}
2019-11-25T06:45:34:ERROR:localstack.services.cloudformation.cloudformation_starter: Unable to parse and create resource "TankDynamoStreamEventLambdaFunction": An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 173, in parse_and_create_resource
return _parse_and_create_resource(logical_id, resource_json, resources_map, region_name)
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 260, in _parse_and_create_resource
result = deploy_func(logical_id, resource_wrapped, stack_name=stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 713, in deploy_resource
result = deploy_resource_via_sdk_function(resource_id, resources, resource_type, func, stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 783, in deploy_resource_via_sdk_function
raise e
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 780, in deploy_resource_via_sdk_function
result = function(**params)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:34:WARNING:localstack.services.awslambda.lambda_api: Function not found: arn:aws:lambda:us-east-1:000000000000:function:commandeer-tanks-local-tankDynamoStreamEvent
2019-11-25T06:45:34:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:35:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:35:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:35:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:41:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:41:WARNING:localstack.utils.cloudformation.template_deployer: Error calling <bound method ClientCreator._create_api_method.<locals>._api_call of <botocore.client.Lambda object at 0x7fd75d270190>> with params: {'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Runtime': 'nodejs10.x', 'Role': 'test_role', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'Timeout': 900, 'MemorySize': 256} for resource: {'Type': 'AWS::Lambda::Function', 'Properties': {'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'MemorySize': 256, 'Role': 'arn:aws:iam::000000000000:role/commandeer-tanks-local-IamRoleLambdaExecution-ZPBFGVXAIEUY', 'Runtime': 'nodejs10.x', 'Timeout': 900, 'Tags': [{'Key': 'DEPARTMENT', 'Value': 'MACHINERY'}, {'Key': 'ENVIRONMENT', 'Value': 'DEV'}]}, 'DependsOn': ['TankDynamoStreamEventLogGroup', 'IamRoleLambdaExecution']}
2019-11-25T06:45:41:ERROR:localstack.services.cloudformation.cloudformation_starter: Unable to parse and create resource "TankDynamoStreamEventLambdaFunction": An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 173, in parse_and_create_resource
return _parse_and_create_resource(logical_id, resource_json, resources_map, region_name)
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 260, in _parse_and_create_resource
result = deploy_func(logical_id, resource_wrapped, stack_name=stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 713, in deploy_resource
result = deploy_resource_via_sdk_function(resource_id, resources, resource_type, func, stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 783, in deploy_resource_via_sdk_function
raise e
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 780, in deploy_resource_via_sdk_function
result = function(**params)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:41:WARNING:localstack.services.awslambda.lambda_api: Function not found: arn:aws:lambda:us-east-1:000000000000:function:commandeer-tanks-local-tankDynamoStreamEvent
2019-11-25T06:45:41:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:41:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:43:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:44:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:48:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:48:WARNING:localstack.utils.cloudformation.template_deployer: Error calling <bound method ClientCreator._create_api_method.<locals>._api_call of <botocore.client.Lambda object at 0x7fd75d270190>> with params: {'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Runtime': 'nodejs10.x', 'Role': 'test_role', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'Timeout': 900, 'MemorySize': 256} for resource: {'Type': 'AWS::Lambda::Function', 'Properties': {'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'MemorySize': 256, 'Role': 'arn:aws:iam::000000000000:role/commandeer-tanks-local-IamRoleLambdaExecution-ZPBFGVXAIEUY', 'Runtime': 'nodejs10.x', 'Timeout': 900, 'Tags': [{'Key': 'DEPARTMENT', 'Value': 'MACHINERY'}, {'Key': 'ENVIRONMENT', 'Value': 'DEV'}]}, 'DependsOn': ['TankDynamoStreamEventLogGroup', 'IamRoleLambdaExecution']}
2019-11-25T06:45:48:ERROR:localstack.services.cloudformation.cloudformation_starter: Unable to parse and create resource "TankDynamoStreamEventLambdaFunction": An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 173, in parse_and_create_resource
return _parse_and_create_resource(logical_id, resource_json, resources_map, region_name)
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 260, in _parse_and_create_resource
result = deploy_func(logical_id, resource_wrapped, stack_name=stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 713, in deploy_resource
result = deploy_resource_via_sdk_function(resource_id, resources, resource_type, func, stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 783, in deploy_resource_via_sdk_function
raise e
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 780, in deploy_resource_via_sdk_function
result = function(**params)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:53:WARNING:localstack.services.awslambda.lambda_api: Function not found: arn:aws:lambda:us-east-1:000000000000:function:commandeer-tanks-local-tankDynamoStreamEvent
2019-11-25T06:45:53:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:53:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:54:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:45:56:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:00:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:00:WARNING:localstack.utils.cloudformation.template_deployer: Error calling <bound method ClientCreator._create_api_method.<locals>._api_call of <botocore.client.Lambda object at 0x7fd75d270190>> with params: {'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Runtime': 'nodejs10.x', 'Role': 'test_role', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'Timeout': 900, 'MemorySize': 256} for resource: {'Type': 'AWS::Lambda::Function', 'Properties': {'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'MemorySize': 256, 'Role': 'arn:aws:iam::000000000000:role/commandeer-tanks-local-IamRoleLambdaExecution-ZPBFGVXAIEUY', 'Runtime': 'nodejs10.x', 'Timeout': 900, 'Tags': [{'Key': 'DEPARTMENT', 'Value': 'MACHINERY'}, {'Key': 'ENVIRONMENT', 'Value': 'DEV'}]}, 'DependsOn': ['TankDynamoStreamEventLogGroup', 'IamRoleLambdaExecution']}
2019-11-25T06:46:00:ERROR:localstack.services.cloudformation.cloudformation_starter: Unable to parse and create resource "TankDynamoStreamEventLambdaFunction": An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 173, in parse_and_create_resource
return _parse_and_create_resource(logical_id, resource_json, resources_map, region_name)
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 260, in _parse_and_create_resource
result = deploy_func(logical_id, resource_wrapped, stack_name=stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 713, in deploy_resource
result = deploy_resource_via_sdk_function(resource_id, resources, resource_type, func, stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 783, in deploy_resource_via_sdk_function
raise e
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 780, in deploy_resource_via_sdk_function
result = function(**params)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:00:WARNING:localstack.services.awslambda.lambda_api: Function not found: arn:aws:lambda:us-east-1:000000000000:function:commandeer-tanks-local-tankDynamoStreamEvent
2019-11-25T06:46:00:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:01:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:02:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:06:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:11:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:11:WARNING:localstack.utils.cloudformation.template_deployer: Error calling <bound method ClientCreator._create_api_method.<locals>._api_call of <botocore.client.Lambda object at 0x7fd75d270190>> with params: {'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Runtime': 'nodejs10.x', 'Role': 'test_role', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'Timeout': 900, 'MemorySize': 256} for resource: {'Type': 'AWS::Lambda::Function', 'Properties': {'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'MemorySize': 256, 'Role': 'arn:aws:iam::000000000000:role/commandeer-tanks-local-IamRoleLambdaExecution-ZPBFGVXAIEUY', 'Runtime': 'nodejs10.x', 'Timeout': 900, 'Tags': [{'Key': 'DEPARTMENT', 'Value': 'MACHINERY'}, {'Key': 'ENVIRONMENT', 'Value': 'DEV'}]}, 'DependsOn': ['TankDynamoStreamEventLogGroup', 'IamRoleLambdaExecution']}
2019-11-25T06:46:11:ERROR:localstack.services.cloudformation.cloudformation_starter: Unable to parse and create resource "TankDynamoStreamEventLambdaFunction": An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 173, in parse_and_create_resource
return _parse_and_create_resource(logical_id, resource_json, resources_map, region_name)
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 260, in _parse_and_create_resource
result = deploy_func(logical_id, resource_wrapped, stack_name=stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 713, in deploy_resource
result = deploy_resource_via_sdk_function(resource_id, resources, resource_type, func, stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 783, in deploy_resource_via_sdk_function
raise e
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 780, in deploy_resource_via_sdk_function
result = function(**params)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:11:WARNING:localstack.services.awslambda.lambda_api: Function not found: arn:aws:lambda:us-east-1:000000000000:function:commandeer-tanks-local-tankDynamoStreamEvent
2019-11-25T06:46:11:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:11:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:13:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:14:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:18:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:18:WARNING:localstack.utils.cloudformation.template_deployer: Error calling <bound method ClientCreator._create_api_method.<locals>._api_call of <botocore.client.Lambda object at 0x7fd75d270190>> with params: {'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Runtime': 'nodejs10.x', 'Role': 'test_role', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'Timeout': 900, 'MemorySize': 256} for resource: {'Type': 'AWS::Lambda::Function', 'Properties': {'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'MemorySize': 256, 'Role': 'arn:aws:iam::000000000000:role/commandeer-tanks-local-IamRoleLambdaExecution-ZPBFGVXAIEUY', 'Runtime': 'nodejs10.x', 'Timeout': 900, 'Tags': [{'Key': 'DEPARTMENT', 'Value': 'MACHINERY'}, {'Key': 'ENVIRONMENT', 'Value': 'DEV'}]}, 'DependsOn': ['TankDynamoStreamEventLogGroup', 'IamRoleLambdaExecution']}
2019-11-25T06:46:18:ERROR:localstack.services.cloudformation.cloudformation_starter: Unable to parse and create resource "TankDynamoStreamEventLambdaFunction": An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 173, in parse_and_create_resource
return _parse_and_create_resource(logical_id, resource_json, resources_map, region_name)
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 260, in _parse_and_create_resource
result = deploy_func(logical_id, resource_wrapped, stack_name=stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 713, in deploy_resource
result = deploy_resource_via_sdk_function(resource_id, resources, resource_type, func, stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 783, in deploy_resource_via_sdk_function
raise e
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 780, in deploy_resource_via_sdk_function
result = function(**params)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:18:WARNING:localstack.services.awslambda.lambda_api: Function not found: arn:aws:lambda:us-east-1:000000000000:function:commandeer-tanks-local-tankDynamoStreamEvent
2019-11-25T06:46:18:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:18:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:20:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:24:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:26:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:26:WARNING:localstack.utils.cloudformation.template_deployer: Error calling <bound method ClientCreator._create_api_method.<locals>._api_call of <botocore.client.Lambda object at 0x7fd75d270190>> with params: {'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Runtime': 'nodejs10.x', 'Role': 'test_role', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'Timeout': 900, 'MemorySize': 256} for resource: {'Type': 'AWS::Lambda::Function', 'Properties': {'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'MemorySize': 256, 'Role': 'arn:aws:iam::000000000000:role/commandeer-tanks-local-IamRoleLambdaExecution-ZPBFGVXAIEUY', 'Runtime': 'nodejs10.x', 'Timeout': 900, 'Tags': [{'Key': 'DEPARTMENT', 'Value': 'MACHINERY'}, {'Key': 'ENVIRONMENT', 'Value': 'DEV'}]}, 'DependsOn': ['TankDynamoStreamEventLogGroup', 'IamRoleLambdaExecution']}
2019-11-25T06:46:26:ERROR:localstack.services.cloudformation.cloudformation_starter: Unable to parse and create resource "TankDynamoStreamEventLambdaFunction": An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 173, in parse_and_create_resource
return _parse_and_create_resource(logical_id, resource_json, resources_map, region_name)
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 260, in _parse_and_create_resource
result = deploy_func(logical_id, resource_wrapped, stack_name=stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 713, in deploy_resource
result = deploy_resource_via_sdk_function(resource_id, resources, resource_type, func, stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 783, in deploy_resource_via_sdk_function
raise e
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 780, in deploy_resource_via_sdk_function
result = function(**params)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:31:WARNING:localstack.services.awslambda.lambda_api: Function not found: arn:aws:lambda:us-east-1:000000000000:function:commandeer-tanks-local-tankDynamoStreamEvent
2019-11-25T06:46:31:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:31:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:32:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:33:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:41:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:41:WARNING:localstack.utils.cloudformation.template_deployer: Error calling <bound method ClientCreator._create_api_method.<locals>._api_call of <botocore.client.Lambda object at 0x7fd75d270190>> with params: {'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Runtime': 'nodejs10.x', 'Role': 'test_role', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'Timeout': 900, 'MemorySize': 256} for resource: {'Type': 'AWS::Lambda::Function', 'Properties': {'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'MemorySize': 256, 'Role': 'arn:aws:iam::000000000000:role/commandeer-tanks-local-IamRoleLambdaExecution-ZPBFGVXAIEUY', 'Runtime': 'nodejs10.x', 'Timeout': 900, 'Tags': [{'Key': 'DEPARTMENT', 'Value': 'MACHINERY'}, {'Key': 'ENVIRONMENT', 'Value': 'DEV'}]}, 'DependsOn': ['TankDynamoStreamEventLogGroup', 'IamRoleLambdaExecution']}
2019-11-25T06:46:41:ERROR:localstack.services.cloudformation.cloudformation_starter: Unable to parse and create resource "TankDynamoStreamEventLambdaFunction": An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 173, in parse_and_create_resource
return _parse_and_create_resource(logical_id, resource_json, resources_map, region_name)
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 260, in _parse_and_create_resource
result = deploy_func(logical_id, resource_wrapped, stack_name=stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 713, in deploy_resource
result = deploy_resource_via_sdk_function(resource_id, resources, resource_type, func, stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 783, in deploy_resource_via_sdk_function
raise e
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 780, in deploy_resource_via_sdk_function
result = function(**params)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:42:WARNING:localstack.services.awslambda.lambda_api: Function not found: arn:aws:lambda:us-east-1:000000000000:function:commandeer-tanks-local-tankDynamoStreamEvent
2019-11-25T06:46:42:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:43:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:43:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:46:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:54:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:54:WARNING:localstack.utils.cloudformation.template_deployer: Error calling <bound method ClientCreator._create_api_method.<locals>._api_call of <botocore.client.Lambda object at 0x7fd75d270190>> with params: {'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Runtime': 'nodejs10.x', 'Role': 'test_role', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'Timeout': 900, 'MemorySize': 256} for resource: {'Type': 'AWS::Lambda::Function', 'Properties': {'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'MemorySize': 256, 'Role': 'arn:aws:iam::000000000000:role/commandeer-tanks-local-IamRoleLambdaExecution-ZPBFGVXAIEUY', 'Runtime': 'nodejs10.x', 'Timeout': 900, 'Tags': [{'Key': 'DEPARTMENT', 'Value': 'MACHINERY'}, {'Key': 'ENVIRONMENT', 'Value': 'DEV'}]}, 'DependsOn': ['TankDynamoStreamEventLogGroup', 'IamRoleLambdaExecution']}
2019-11-25T06:46:54:ERROR:localstack.services.cloudformation.cloudformation_starter: Unable to parse and create resource "TankDynamoStreamEventLambdaFunction": An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 173, in parse_and_create_resource
return _parse_and_create_resource(logical_id, resource_json, resources_map, region_name)
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 260, in _parse_and_create_resource
result = deploy_func(logical_id, resource_wrapped, stack_name=stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 713, in deploy_resource
result = deploy_resource_via_sdk_function(resource_id, resources, resource_type, func, stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 783, in deploy_resource_via_sdk_function
raise e
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 780, in deploy_resource_via_sdk_function
result = function(**params)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:54:WARNING:localstack.services.awslambda.lambda_api: Function not found: arn:aws:lambda:us-east-1:000000000000:function:commandeer-tanks-local-tankDynamoStreamEvent
2019-11-25T06:46:54:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:55:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:57:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:46:57:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:01:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:01:WARNING:localstack.utils.cloudformation.template_deployer: Error calling <bound method ClientCreator._create_api_method.<locals>._api_call of <botocore.client.Lambda object at 0x7fd75d270190>> with params: {'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Runtime': 'nodejs10.x', 'Role': 'test_role', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'Timeout': 900, 'MemorySize': 256} for resource: {'Type': 'AWS::Lambda::Function', 'Properties': {'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'MemorySize': 256, 'Role': 'arn:aws:iam::000000000000:role/commandeer-tanks-local-IamRoleLambdaExecution-ZPBFGVXAIEUY', 'Runtime': 'nodejs10.x', 'Timeout': 900, 'Tags': [{'Key': 'DEPARTMENT', 'Value': 'MACHINERY'}, {'Key': 'ENVIRONMENT', 'Value': 'DEV'}]}, 'DependsOn': ['TankDynamoStreamEventLogGroup', 'IamRoleLambdaExecution']}
2019-11-25T06:47:01:ERROR:localstack.services.cloudformation.cloudformation_starter: Unable to parse and create resource "TankDynamoStreamEventLambdaFunction": An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 173, in parse_and_create_resource
return _parse_and_create_resource(logical_id, resource_json, resources_map, region_name)
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 260, in _parse_and_create_resource
result = deploy_func(logical_id, resource_wrapped, stack_name=stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 713, in deploy_resource
result = deploy_resource_via_sdk_function(resource_id, resources, resource_type, func, stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 783, in deploy_resource_via_sdk_function
raise e
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 780, in deploy_resource_via_sdk_function
result = function(**params)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:02:WARNING:localstack.services.awslambda.lambda_api: Function not found: arn:aws:lambda:us-east-1:000000000000:function:commandeer-tanks-local-tankDynamoStreamEvent
2019-11-25T06:47:02:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:02:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:02:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:04:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:10:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:10:WARNING:localstack.utils.cloudformation.template_deployer: Error calling <bound method ClientCreator._create_api_method.<locals>._api_call of <botocore.client.Lambda object at 0x7fd75d270190>> with params: {'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Runtime': 'nodejs10.x', 'Role': 'test_role', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'Timeout': 900, 'MemorySize': 256} for resource: {'Type': 'AWS::Lambda::Function', 'Properties': {'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'MemorySize': 256, 'Role': 'arn:aws:iam::000000000000:role/commandeer-tanks-local-IamRoleLambdaExecution-ZPBFGVXAIEUY', 'Runtime': 'nodejs10.x', 'Timeout': 900, 'Tags': [{'Key': 'DEPARTMENT', 'Value': 'MACHINERY'}, {'Key': 'ENVIRONMENT', 'Value': 'DEV'}]}, 'DependsOn': ['TankDynamoStreamEventLogGroup', 'IamRoleLambdaExecution']}
2019-11-25T06:47:10:ERROR:localstack.services.cloudformation.cloudformation_starter: Unable to parse and create resource "TankDynamoStreamEventLambdaFunction": An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 173, in parse_and_create_resource
return _parse_and_create_resource(logical_id, resource_json, resources_map, region_name)
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 260, in _parse_and_create_resource
result = deploy_func(logical_id, resource_wrapped, stack_name=stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 713, in deploy_resource
result = deploy_resource_via_sdk_function(resource_id, resources, resource_type, func, stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 783, in deploy_resource_via_sdk_function
raise e
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 780, in deploy_resource_via_sdk_function
result = function(**params)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:15:WARNING:localstack.services.awslambda.lambda_api: Function not found: arn:aws:lambda:us-east-1:000000000000:function:commandeer-tanks-local-tankDynamoStreamEvent
2019-11-25T06:47:15:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:15:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:17:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:21:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:24:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:24:WARNING:localstack.utils.cloudformation.template_deployer: Error calling <bound method ClientCreator._create_api_method.<locals>._api_call of <botocore.client.Lambda object at 0x7fd75d270190>> with params: {'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Runtime': 'nodejs10.x', 'Role': 'test_role', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'Timeout': 900, 'MemorySize': 256} for resource: {'Type': 'AWS::Lambda::Function', 'Properties': {'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'MemorySize': 256, 'Role': 'arn:aws:iam::000000000000:role/commandeer-tanks-local-IamRoleLambdaExecution-ZPBFGVXAIEUY', 'Runtime': 'nodejs10.x', 'Timeout': 900, 'Tags': [{'Key': 'DEPARTMENT', 'Value': 'MACHINERY'}, {'Key': 'ENVIRONMENT', 'Value': 'DEV'}]}, 'DependsOn': ['TankDynamoStreamEventLogGroup', 'IamRoleLambdaExecution']}
2019-11-25T06:47:24:ERROR:localstack.services.cloudformation.cloudformation_starter: Unable to parse and create resource "TankDynamoStreamEventLambdaFunction": An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 173, in parse_and_create_resource
return _parse_and_create_resource(logical_id, resource_json, resources_map, region_name)
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 260, in _parse_and_create_resource
result = deploy_func(logical_id, resource_wrapped, stack_name=stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 713, in deploy_resource
result = deploy_resource_via_sdk_function(resource_id, resources, resource_type, func, stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 783, in deploy_resource_via_sdk_function
raise e
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 780, in deploy_resource_via_sdk_function
result = function(**params)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:24:WARNING:localstack.services.awslambda.lambda_api: Function not found: arn:aws:lambda:us-east-1:000000000000:function:commandeer-tanks-local-tankDynamoStreamEvent
2019-11-25T06:47:24:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:24:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:25:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:27:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:28:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:28:WARNING:localstack.utils.cloudformation.template_deployer: Error calling <bound method ClientCreator._create_api_method.<locals>._api_call of <botocore.client.Lambda object at 0x7fd75d270190>> with params: {'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Runtime': 'nodejs10.x', 'Role': 'test_role', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'Timeout': 900, 'MemorySize': 256} for resource: {'Type': 'AWS::Lambda::Function', 'Properties': {'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'MemorySize': 256, 'Role': 'arn:aws:iam::000000000000:role/commandeer-tanks-local-IamRoleLambdaExecution-ZPBFGVXAIEUY', 'Runtime': 'nodejs10.x', 'Timeout': 900, 'Tags': [{'Key': 'DEPARTMENT', 'Value': 'MACHINERY'}, {'Key': 'ENVIRONMENT', 'Value': 'DEV'}]}, 'DependsOn': ['TankDynamoStreamEventLogGroup', 'IamRoleLambdaExecution']}
2019-11-25T06:47:28:ERROR:localstack.services.cloudformation.cloudformation_starter: Unable to parse and create resource "TankDynamoStreamEventLambdaFunction": An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 173, in parse_and_create_resource
return _parse_and_create_resource(logical_id, resource_json, resources_map, region_name)
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 260, in _parse_and_create_resource
result = deploy_func(logical_id, resource_wrapped, stack_name=stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 713, in deploy_resource
result = deploy_resource_via_sdk_function(resource_id, resources, resource_type, func, stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 783, in deploy_resource_via_sdk_function
raise e
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 780, in deploy_resource_via_sdk_function
result = function(**params)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:28:WARNING:localstack.services.awslambda.lambda_api: Function not found: arn:aws:lambda:us-east-1:000000000000:function:commandeer-tanks-local-tankDynamoStreamEvent
2019-11-25T06:47:28:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:29:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:30:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:32:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:37:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:37:WARNING:localstack.utils.cloudformation.template_deployer: Error calling <bound method ClientCreator._create_api_method.<locals>._api_call of <botocore.client.Lambda object at 0x7fd75d270190>> with params: {'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Runtime': 'nodejs10.x', 'Role': 'test_role', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'Timeout': 900, 'MemorySize': 256} for resource: {'Type': 'AWS::Lambda::Function', 'Properties': {'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'MemorySize': 256, 'Role': 'arn:aws:iam::000000000000:role/commandeer-tanks-local-IamRoleLambdaExecution-ZPBFGVXAIEUY', 'Runtime': 'nodejs10.x', 'Timeout': 900, 'Tags': [{'Key': 'DEPARTMENT', 'Value': 'MACHINERY'}, {'Key': 'ENVIRONMENT', 'Value': 'DEV'}]}, 'DependsOn': ['TankDynamoStreamEventLogGroup', 'IamRoleLambdaExecution']}
2019-11-25T06:47:37:ERROR:localstack.services.cloudformation.cloudformation_starter: Unable to parse and create resource "TankDynamoStreamEventLambdaFunction": An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 173, in parse_and_create_resource
return _parse_and_create_resource(logical_id, resource_json, resources_map, region_name)
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 260, in _parse_and_create_resource
result = deploy_func(logical_id, resource_wrapped, stack_name=stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 713, in deploy_resource
result = deploy_resource_via_sdk_function(resource_id, resources, resource_type, func, stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 783, in deploy_resource_via_sdk_function
raise e
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 780, in deploy_resource_via_sdk_function
result = function(**params)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:37:WARNING:localstack.services.awslambda.lambda_api: Function not found: arn:aws:lambda:us-east-1:000000000000:function:commandeer-tanks-local-tankDynamoStreamEvent
2019-11-25T06:47:37:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:37:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:38:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:41:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:41:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:41:WARNING:localstack.utils.cloudformation.template_deployer: Error calling <bound method ClientCreator._create_api_method.<locals>._api_call of <botocore.client.Lambda object at 0x7fd75d270190>> with params: {'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Runtime': 'nodejs10.x', 'Role': 'test_role', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'Timeout': 900, 'MemorySize': 256} for resource: {'Type': 'AWS::Lambda::Function', 'Properties': {'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'MemorySize': 256, 'Role': 'arn:aws:iam::000000000000:role/commandeer-tanks-local-IamRoleLambdaExecution-ZPBFGVXAIEUY', 'Runtime': 'nodejs10.x', 'Timeout': 900, 'Tags': [{'Key': 'DEPARTMENT', 'Value': 'MACHINERY'}, {'Key': 'ENVIRONMENT', 'Value': 'DEV'}]}, 'DependsOn': ['TankDynamoStreamEventLogGroup', 'IamRoleLambdaExecution']}
2019-11-25T06:47:41:ERROR:localstack.services.cloudformation.cloudformation_starter: Unable to parse and create resource "TankDynamoStreamEventLambdaFunction": An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 173, in parse_and_create_resource
return _parse_and_create_resource(logical_id, resource_json, resources_map, region_name)
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 260, in _parse_and_create_resource
result = deploy_func(logical_id, resource_wrapped, stack_name=stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 713, in deploy_resource
result = deploy_resource_via_sdk_function(resource_id, resources, resource_type, func, stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 783, in deploy_resource_via_sdk_function
raise e
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 780, in deploy_resource_via_sdk_function
result = function(**params)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:46:WARNING:localstack.services.awslambda.lambda_api: Function not found: arn:aws:lambda:us-east-1:000000000000:function:commandeer-tanks-local-tankDynamoStreamEvent
2019-11-25T06:47:46:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:47:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:48:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:50:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:51:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:51:WARNING:localstack.utils.cloudformation.template_deployer: Error calling <bound method ClientCreator._create_api_method.<locals>._api_call of <botocore.client.Lambda object at 0x7fd75d270190>> with params: {'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Runtime': 'nodejs10.x', 'Role': 'test_role', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'Timeout': 900, 'MemorySize': 256} for resource: {'Type': 'AWS::Lambda::Function', 'Properties': {'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'MemorySize': 256, 'Role': 'arn:aws:iam::000000000000:role/commandeer-tanks-local-IamRoleLambdaExecution-ZPBFGVXAIEUY', 'Runtime': 'nodejs10.x', 'Timeout': 900, 'Tags': [{'Key': 'DEPARTMENT', 'Value': 'MACHINERY'}, {'Key': 'ENVIRONMENT', 'Value': 'DEV'}]}, 'DependsOn': ['TankDynamoStreamEventLogGroup', 'IamRoleLambdaExecution']}
2019-11-25T06:47:51:ERROR:localstack.services.cloudformation.cloudformation_starter: Unable to parse and create resource "TankDynamoStreamEventLambdaFunction": An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 173, in parse_and_create_resource
return _parse_and_create_resource(logical_id, resource_json, resources_map, region_name)
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 260, in _parse_and_create_resource
result = deploy_func(logical_id, resource_wrapped, stack_name=stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 713, in deploy_resource
result = deploy_resource_via_sdk_function(resource_id, resources, resource_type, func, stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 783, in deploy_resource_via_sdk_function
raise e
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 780, in deploy_resource_via_sdk_function
result = function(**params)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:51:WARNING:localstack.services.awslambda.lambda_api: Function not found: arn:aws:lambda:us-east-1:000000000000:function:commandeer-tanks-local-tankDynamoStreamEvent
2019-11-25T06:47:51:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:52:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:53:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:53:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:56:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:56:WARNING:localstack.utils.cloudformation.template_deployer: Error calling <bound method ClientCreator._create_api_method.<locals>._api_call of <botocore.client.Lambda object at 0x7fd75d270190>> with params: {'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Runtime': 'nodejs10.x', 'Role': 'test_role', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'Timeout': 900, 'MemorySize': 256} for resource: {'Type': 'AWS::Lambda::Function', 'Properties': {'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'MemorySize': 256, 'Role': 'arn:aws:iam::000000000000:role/commandeer-tanks-local-IamRoleLambdaExecution-ZPBFGVXAIEUY', 'Runtime': 'nodejs10.x', 'Timeout': 900, 'Tags': [{'Key': 'DEPARTMENT', 'Value': 'MACHINERY'}, {'Key': 'ENVIRONMENT', 'Value': 'DEV'}]}, 'DependsOn': ['TankDynamoStreamEventLogGroup', 'IamRoleLambdaExecution']}
2019-11-25T06:47:56:ERROR:localstack.services.cloudformation.cloudformation_starter: Unable to parse and create resource "TankDynamoStreamEventLambdaFunction": An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 173, in parse_and_create_resource
return _parse_and_create_resource(logical_id, resource_json, resources_map, region_name)
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 260, in _parse_and_create_resource
result = deploy_func(logical_id, resource_wrapped, stack_name=stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 713, in deploy_resource
result = deploy_resource_via_sdk_function(resource_id, resources, resource_type, func, stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 783, in deploy_resource_via_sdk_function
raise e
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 780, in deploy_resource_via_sdk_function
result = function(**params)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:56:WARNING:localstack.services.awslambda.lambda_api: Function not found: arn:aws:lambda:us-east-1:000000000000:function:commandeer-tanks-local-tankDynamoStreamEvent
2019-11-25T06:47:56:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:57:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:57:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:47:59:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:48:01:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:48:01:WARNING:localstack.utils.cloudformation.template_deployer: Error calling <bound method ClientCreator._create_api_method.<locals>._api_call of <botocore.client.Lambda object at 0x7fd75d270190>> with params: {'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Runtime': 'nodejs10.x', 'Role': 'test_role', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'Timeout': 900, 'MemorySize': 256} for resource: {'Type': 'AWS::Lambda::Function', 'Properties': {'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'MemorySize': 256, 'Role': 'arn:aws:iam::000000000000:role/commandeer-tanks-local-IamRoleLambdaExecution-ZPBFGVXAIEUY', 'Runtime': 'nodejs10.x', 'Timeout': 900, 'Tags': [{'Key': 'DEPARTMENT', 'Value': 'MACHINERY'}, {'Key': 'ENVIRONMENT', 'Value': 'DEV'}]}, 'DependsOn': ['TankDynamoStreamEventLogGroup', 'IamRoleLambdaExecution']}
2019-11-25T06:48:01:ERROR:localstack.services.cloudformation.cloudformation_starter: Unable to parse and create resource "TankDynamoStreamEventLambdaFunction": An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 173, in parse_and_create_resource
return _parse_and_create_resource(logical_id, resource_json, resources_map, region_name)
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 260, in _parse_and_create_resource
result = deploy_func(logical_id, resource_wrapped, stack_name=stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 713, in deploy_resource
result = deploy_resource_via_sdk_function(resource_id, resources, resource_type, func, stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 783, in deploy_resource_via_sdk_function
raise e
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 780, in deploy_resource_via_sdk_function
result = function(**params)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:48:01:WARNING:localstack.services.awslambda.lambda_api: Function not found: arn:aws:lambda:us-east-1:000000000000:function:commandeer-tanks-local-tankDynamoStreamEvent
2019-11-25T06:48:01:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:48:02:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:48:02:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:48:03:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:48:10:WARNING:localstack.services.awslambda.lambda_api: Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
2019-11-25T06:48:10:WARNING:localstack.utils.cloudformation.template_deployer: Error calling <bound method ClientCreator._create_api_method.<locals>._api_call of <botocore.client.Lambda object at 0x7fd75d270190>> with params: {'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Runtime': 'nodejs10.x', 'Role': 'test_role', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'Timeout': 900, 'MemorySize': 256} for resource: {'Type': 'AWS::Lambda::Function', 'Properties': {'Code': {'S3Bucket': '__local__', 'S3Key': '/Users/fsproru/code/commandeer/open/templates/serverless'}, 'FunctionName': 'commandeer-tanks-local-tankDynamoStreamEvent', 'Handler': '.build/handlers/dynamo-streams/tankDynamoStreamHandler.process', 'MemorySize': 256, 'Role': 'arn:aws:iam::000000000000:role/commandeer-tanks-local-IamRoleLambdaExecution-ZPBFGVXAIEUY', 'Runtime': 'nodejs10.x', 'Timeout': 900, 'Tags': [{'Key': 'DEPARTMENT', 'Value': 'MACHINERY'}, {'Key': 'ENVIRONMENT', 'Value': 'DEV'}]}, 'DependsOn': ['TankDynamoStreamEventLogGroup', 'IamRoleLambdaExecution']}
2019-11-25T06:48:10:ERROR:localstack.services.cloudformation.cloudformation_starter: Unable to parse and create resource "TankDynamoStreamEventLambdaFunction": An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 173, in parse_and_create_resource
return _parse_and_create_resource(logical_id, resource_json, resources_map, region_name)
File "/opt/code/localstack/localstack/services/cloudformation/cloudformation_starter.py", line 260, in _parse_and_create_resource
result = deploy_func(logical_id, resource_wrapped, stack_name=stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 713, in deploy_resource
result = deploy_resource_via_sdk_function(resource_id, resources, resource_type, func, stack_name)
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 783, in deploy_resource_via_sdk_function
raise e
File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 780, in deploy_resource_via_sdk_function
result = function(**params)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/opt/code/localstack/.venv/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InternalFailure) when calling the CreateFunction operation (reached max retries: 4): Unknown error: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1 Traceback (most recent call last):
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 754, in create_function
result = set_function_code(func_details.code, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 545, in set_function_code
lambda_cwd = lambda_cwd or set_archive_code(code_passed, lambda_name)
File "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 500, in set_archive_code
raise Exception(msg % BUCKET_MARKER_LOCAL)
Exception: Please note that Lambda mounts (bucket name "__local__") cannot be used with LAMBDA_REMOTE_DOCKER=1
Tried it with starting LocalStack with AWS_DEFAULT_REGION=us-west-1 DEFAULT_REGION=us-west-1
and specifying the us-west-1 region, got the same error as above.
Hey @whummer, let me know if you need any help. Deploying Serverless into LocalStack will allow us to do a whole IaC tutorial in Commandeer which would be a great use of LocalStack.
Hi @fsproru, seeing this in the logs:
Exception: Please note that Lambda mounts (bucket name "local") cannot be used with LAMBDA_REMOTE_DOCKER=1
Is this somehow related to LAMBDA_REMOTE_DOCKER=1 ?
Yep, exactly. LAMBDA_REMOTE_DOCKER=1
is the default, but local Lambda mounts do not work in conjunction with LAMBDA_REMOTE_DOCKER=1
(because in general remote Docker engines cannot mount local directories)
Have you tried running it with LAMBDA_REMOTE_DOCKER=0
?
@whummer, than you sir, that was exactly it! Starting LocalStack with LAMBDA_REMOTE_DOCKER=0
worked beautifully and I was able to deploy Serverless into LocalStack.
Looking deeper into my serverless.yml
I see that I was using mountCode: True
which is most likely why LAMBDA_REMOTE_DOCKER=0
was needed. I also tried to comment out mountCode: True
and ran it against LocalStack started without LAMBDA_REMOTE_DOCKER=0
which also worked.
Since LAMBDA_REMOTE_DOCKER=1
is a default for LocalStack, I would suggest using mountCode: False
or commenting it out from the example in the readme for serverless-localstack
. This way the default example will work with the default settings of LocalStack.
Thanks for you help @whummer, closing the issue.
LAMBDA_REMOTE_DOCKER=0
My friend, where did you set LAMBDA_REMOTE_DOCKER=0????? Can you share steps to make it work?
Thanks
You’ll need to pass it as an environment variable to LocalStack when you start it. You can check out LocalStack readme file for more details.
On Wed, Aug 12, 2020 at 5:46 AM Daniel Abib notifications@github.com wrote:
LAMBDA_REMOTE_DOCKER=0
My friend, where did you set LAMBDA_REMOTE_DOCKER=0????? Can you share steps to make it work?
Thanks
— You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/localstack/serverless-localstack/issues/57#issuecomment-672849049, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHYOBTNID2D22RDZE47SZTSAKFK5ANCNFSM4JQVLR6Q .
Deploying our Tanks project Commandeer Open Source project into LocalStack throws a 502 error whereas deploying it to AWS works just fine. We're using the latest version of LocalStack Docker image started using
localstack start
with all services started.Serverless Setup: https://github.com/commandeer/open/pull/25/files
sls deploy
outputLocalstack Output