File tree 5 files changed +6
-3
lines changed
5 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -150,3 +150,4 @@ cython_debug/
150
150
# and can be added to the global gitignore or merged into this file. For a more nuclear
151
151
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
152
152
# .idea/
153
+ scratch
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -e
3
3
set -o pipefail
4
+ export AWS_DEFAULT_REGION=ap-southeast-2
5
+ export LAMBDA_FUNCTION=" ${LAMBDA_FUNCTION: test-lammulti} "
4
6
test $LAMBDA_FUNCTION
5
7
cd lambda_code
6
8
pip install ../../ --target ./
@@ -10,7 +12,7 @@ echo deploying code
10
12
aws lambda update-function-code --function-name $LAMBDA_FUNCTION --zip-file fileb://$( pwd) /../code.zip
11
13
echo " waiting for lambda to finalize"
12
14
aws lambda wait function-updated --function-name $LAMBDA_FUNCTION
13
- echo " invoking"
15
+ echo " invoking $LAMBDA_FUNCTION "
14
16
RESULT=$( aws lambda invoke --function-name $LAMBDA_FUNCTION --invocation-type RequestResponse RequestResponse --log-type Tail)
15
17
echo $RESULT | jq .
16
18
test null = $( echo $RESULT | jq .FunctionError)
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -350,7 +350,7 @@ Resources:
350
350
PackageType : Zip
351
351
ReservedConcurrentExecutions : 1
352
352
Role : !GetAtt LambdaRole.Arn
353
- Runtime : python3.9
353
+ Runtime : python3.11
354
354
Timeout : 60
355
355
VpcConfig :
356
356
SecurityGroupIds :
Original file line number Diff line number Diff line change 1
1
moto[s3]>=5
2
2
boto3
3
3
tox>=2.7.0
4
+ wheel
You can’t perform that action at this time.
0 commit comments