fix CF deployment of API Gateway method integrations by whummer · Pull Request #1731 · localstack/localstack · GitHub
Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
2 changes: 1 addition & 1 deletion localstack/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def is_linux():
'LAMBDA_EXECUTOR', 'LAMBDA_REMOTE_DOCKER', 'LAMBDA_DOCKER_NETWORK', 'USE_SSL', 'DEBUG',
'KINESIS_ERROR_PROBABILITY', 'DYNAMODB_ERROR_PROBABILITY', 'PORT_WEB_UI', 'START_WEB',
'DOCKER_BRIDGE_IP', 'DEFAULT_REGION', 'LAMBDA_JAVA_OPTS', 'LOCALSTACK_API_KEY',
'LAMBDA_CONTAINER_REGISTRY']
'LAMBDA_CONTAINER_REGISTRY', 'TEST_AWS_ACCOUNT_ID']

for key, value in six.iteritems(DEFAULT_SERVICE_PORTS):
clean_key = key.upper().replace('-', '_')
Expand Down
2 changes: 1 addition & 1 deletion localstack/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import localstack_client.config

# LocalStack version
VERSION = '0.10.4'
VERSION = '0.10.5'

# constant to represent the "local" region, i.e., local machine
REGION_LOCAL = 'local'
Expand Down
1 change: 1 addition & 0 deletions localstack/services/apigateway/apigateway_listener.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ def invoke_rest_api(api_id, stage, method, invocation_path, data, headers, path=
response = Response()
parsed_result = result if isinstance(result, dict) else json.loads(result)
parsed_result = common.json_safe(parsed_result)
parsed_result = {} if parsed_result is None else parsed_result
response.status_code = int(parsed_result.get('statusCode', 200))
response.headers.update(parsed_result.get('headers', {}))
try:
Expand Down
7 changes: 6 additions & 1 deletion localstack/utils/cloudformation/template_deployer.py