File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,6 @@ set -uo pipefail
5
5
# Constants
6
6
RUNTIME_PATH=" 2018-06-01/runtime"
7
7
mkdir -p /tmp/.aws
8
- mv .aws/config /tmp/.aws/config
9
- mv .aws/credentials /tmp/.aws/credentials
10
8
11
9
# Send initialization error to Lambda API
12
10
sendInitError () {
54
52
export AWS_LAMBDA_DEADLINE_MS=$( grep -Fi Lambda-Runtime-Deadline-Ms " $HEADERS " | tr -d ' [:space:]' | cut -d: -f2)
55
53
export AWS_LAMBDA_FUNCTION_ARN=$( grep -Fi Lambda-Runtime-Invoked-Function-Arn " $HEADERS " | tr -d ' [:space:]' | cut -d: -f2)
56
54
export AWS_LAMBDA_TRACE_ID=$( grep -Fi Lambda-Runtime-Trace-Id " $HEADERS " | tr -d ' [:space:]' | cut -d: -f2)
57
- # Workaround until this is a layer
58
- export PATH=$PATH :/var/task/bin
59
55
export AWS_CONFIG_FILE=" /tmp/.aws/config"
60
56
export AWS_SHARED_CREDENTIALS_FILE=" /tmp/.aws/credentials"
61
57
# Execute the user function
You can’t perform that action at this time.
0 commit comments