Skip to content

Commit 9c42f97

Browse files
author
Graham Krizek
committed
finalize bootstrap
1 parent c463620 commit 9c42f97

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

bootstrap

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ set -uo pipefail
55
# Constants
66
RUNTIME_PATH="2018-06-01/runtime"
77
mkdir -p /tmp/.aws
8-
mv .aws/config /tmp/.aws/config
9-
mv .aws/credentials /tmp/.aws/credentials
108

119
# Send initialization error to Lambda API
1210
sendInitError () {
@@ -54,8 +52,6 @@ do
5452
export AWS_LAMBDA_DEADLINE_MS=$(grep -Fi Lambda-Runtime-Deadline-Ms "$HEADERS" | tr -d '[:space:]' | cut -d: -f2)
5553
export AWS_LAMBDA_FUNCTION_ARN=$(grep -Fi Lambda-Runtime-Invoked-Function-Arn "$HEADERS" | tr -d '[:space:]' | cut -d: -f2)
5654
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
5955
export AWS_CONFIG_FILE="/tmp/.aws/config"
6056
export AWS_SHARED_CREDENTIALS_FILE="/tmp/.aws/credentials"
6157
# Execute the user function

0 commit comments

Comments
 (0)