File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change 1
1
# Kotlin Native Runtime for AWS Lambda
2
2
[ ![ Maven Central] ( https://maven-badges.herokuapp.com/maven-central/io.github.trueangle/lambda-runtime/badge.svg )] ( https://maven-badges.herokuapp.com/maven-central/io.github.trueangle/lambda-runtime/badge.svg )
3
3
4
- A runtime for executing AWS Lambda Functions using Kotlin Native, designed to reduce cold start issues common with the JVM platform.
4
+ A runtime for executing AWS Lambda Functions written in Kotlin/ Native, designed to reduce cold start issues common with the JVM platform.
5
5
6
6
## Project Structure
7
7
@@ -145,7 +145,6 @@ $ aws lambda create-function --function-name LAMBDA_FUNCTION_NAME \
145
145
--zip-file YOUR_MODULE_NAME.zip \
146
146
--runtime provided.al2023 \ # Change this to provided.al2 if you would like to use Amazon Linux 2
147
147
--role arn:aws:iam::XXXXXXXXXXXXX:role/YOUR_LAMBDA_EXECUTION_ROLE \
148
- --environment Variables={RUST_BACKTRACE=1} \
149
148
--tracing-config Mode=Active
150
149
```
151
150
Original file line number Diff line number Diff line change @@ -2,12 +2,6 @@ FROM public.ecr.aws/lambda/provided:al2
2
2
3
3
COPY sample/build/bin/linuxX64/releaseExecutable/sample.kexe /var/runtime/bootstrap
4
4
5
- COPY large-file.json /var/task/large-file.json
6
- RUN chmod +r /var/task/large-file.json
7
-
8
- COPY o.json /var/task/o.json
9
- RUN chmod +r /var/task/o.json
10
-
11
5
# Check if RIE is in /usr/local/bin or /opt/aws
12
6
RUN if [ -f /usr/local/bin/aws-lambda-rie ] || [ -f /opt/aws/aws-lambda-rie ]; then echo "RIE is present" ; else echo "RIE is not present" ; fi
13
7
You can’t perform that action at this time.
0 commit comments