8000 Fix lambda filesystem permissions (#9292) · codeperl/localstack@4858978 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4858978

Browse files
authored
Fix lambda filesystem permissions (localstack#9292)
1 parent c66f231 commit 4858978

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

localstack/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -967,7 +967,7 @@ def legacy_fallback(envar_name: str, default: T) -> T:
967967
LAMBDA_LIMITS_CODE_SIZE_UNZIPPED = int(
968968
os.environ.get("LAMBDA_LIMITS_CODE_SIZE_UNZIPPED", 262_144_000)
969969
)
970-
# SEMI-PUBLIC: not actively communicated
970+
# PUBLIC: documented upon customer request
971971
LAMBDA_LIMITS_CREATE_FUNCTION_REQUEST_SIZE = int(
972972
os.environ.get("LAMBDA_LIMITS_CREATE_FUNCTION_REQUEST_SIZE", 69_905_067)
973973
)

localstack/services/lambda_/packages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
LAMBDA_RUNTIME_INIT_URL = "https://github.com/localstack/lambda-runtime-init/releases/download/{version}/aws-lambda-rie-{arch}"
1212

13-
LAMBDA_RUNTIME_DEFAULT_VERSION = "v0.1.19-pre"
13+
LAMBDA_RUNTIME_DEFAULT_VERSION = "v0.1.20-pre"
1414
LAMBDA_RUNTIME_VERSION = config.LAMBDA_INIT_RELEASE_VERSION or LAMBDA_RUNTIME_DEFAULT_VERSION
1515

1616
# GO Lambda runtime

tests/aws/services/lambda_/test_lambda.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -403,8 +403,6 @@ class TestLambdaBehavior:
403403
)
404404
@markers.snapshot.skip_snapshot_verify(
405405
paths=[
406-
# fixable by setting /tmp permissions to 700
407-
"$..Payload.paths._tmp_mode",
408406
# requires creating a new user `slicer` and chown /var/task
409407
"$..Payload.paths._var_task_gid",
410408
"$..Payload.paths._var_task_owner",
@@ -434,8 +432,6 @@ def test_runtime_introspection_x86(self, create_lambda_function, snapshot, aws_c
434432
)
435433
@markers.snapshot.skip_snapshot_verify(
436434
paths=[
437-
# fixable by setting /tmp permissions to 700
438-
"$..Payload.paths._tmp_mode",
439435
# requires creating a new user `slicer` and chown /var/task
440436
"$..Payload.paths._var_task_gid",
441437
"$..Payload.paths._var_task_owner",

tests/aws/services/lambda_/test_lambda.snapshot.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2702,7 +2702,7 @@
27022702
}
27032703
},
27042704
"tests/aws/services/lambda_/test_lambda.py::TestLambdaBehavior::test_runtime_introspection_arm": {
2705-
"recorded-date": "02-05-2023, 16:51:41",
2705+
"recorded-date": "04-10-2023, 18:13:34",
27062706
"recorded-content": {
27072707
"invoke_runtime_arm_introspection": {
27082708
"ExecutedVersion": "$LATEST",
@@ -2741,7 +2741,7 @@
27412741
}
27422742
},
27432743
"tests/aws/services/lambda_/test_lambda.py::TestLambdaBehavior::test_runtime_introspection_x86": {
2744-
"recorded-date": "02-05-2023, 16:51:39",
2744+
"recorded-date": "04-10-2023, 18:09:12",
27452745
"recorded-content": {
27462746
"invoke_runtime_x86_introspection": {
27472747
"ExecutedVersion": "$LATEST",

0 commit comments

Comments
 (0)
0