Skip to content

Commit d194787

Browse files
Updated sumo_app_utils SAM python version to 3.13
1 parent 8c933e6 commit d194787

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

sumologic-app-utils/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/bin/bash
22

33
# Pull the Amazon lambda Linux image from Docker Hub
4-
docker pull public.ecr.aws/lambda/python:3.12-x86_64
4+
docker pull public.ecr.aws/lambda/python:3.13-x86_64
55

66
# Run the Amazon lambda Linux container in detached mode
7-
docker run -d --name sumologic-app-utils public.ecr.aws/lambda/python:3.12-x86_64 lambda_function.lambda_handler
7+
docker run -d --name sumologic-app-utils public.ecr.aws/lambda/python:3.13-x86_64 lambda_function.lambda_handler
88

99
# Install dependencies inside the container
1010
docker exec -it sumologic-app-utils /bin/bash -c "dnf install -y zip"

sumologic-app-utils/deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ rm sumo_app_utils.zip
3131

3232
./build.sh
3333

34-
version="2.0.15"
34+
version="2.0.18"
3535

3636
aws s3 cp sumo_app_utils.zip s3://$SAM_S3_BUCKET/sumo_app_utils/v"$version"/sumo_app_utils.zip --region $AWS_REGION --acl public-read
3737

3838
sam package --template-file sumo_app_utils.yaml --s3-bucket $SAM_S3_BUCKET --output-template-file packaged_sumo_app_utils.yaml --s3-prefix "sumo_app_utils/v"$version --region $AWS_REGION --profile $AWS_PROFILE
3939

4040
sam publish --template packaged_sumo_app_utils.yaml --region $AWS_REGION --semantic-version $version
4141

42-
# sam deploy --template-file packaged_sumo_app_utils.yaml --stack-name testingsumoapputils --capabilities CAPABILITY_IAM --region $AWS_REGION
42+
#sam deploy --template-file packaged_sumo_app_utils.yaml --stack-name testingsumoapputils --capabilities CAPABILITY_IAM --region $AWS_REGION
4343

sumologic-app-utils/packaged_sumo_app_utils.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ Metadata:
2020
- sumologic
2121
- serverless
2222
Name: sumologic-app-utils
23-
SemanticVersion: 2.0.17
23+
SemanticVersion: 2.0.18
2424
SourceCodeUrl: https://github.com/SumoLogic/sumologic-aws-lambda/tree/main/sumologic-app-utils
2525
SpdxLicenseId: Apache-2.0
26-
ReadmeUrl: s3://appdevstore/sumo_app_utils/v2.0.17/4d5a92c06a7fa9d956a900e51a1f6be4
26+
ReadmeUrl: s3://appdevstore/sumo_app_utils/v2.0.18/4d5a92c06a7fa9d956a900e51a1f6be4
2727
Resources:
2828
SumoAppUtilsFunction:
2929
Type: AWS::Serverless::Function
3030
Properties:
3131
Handler: main.handler
32-
Runtime: python3.12
33-
CodeUri: s3://appdevstore/sumo_app_utils/v2.0.17/sumo_app_utils.zip
32+
Runtime: python3.13
33+
CodeUri: s3://appdevstore/sumo_app_utils/v2.0.18/sumo_app_utils.zip
3434
MemorySize: 128
3535
Timeout: 300
3636
Policies:

sumologic-app-utils/sumo_app_utils.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Metadata:
1717
- sumologic
1818
- serverless
1919
Name: sumologic-app-utils
20-
SemanticVersion: 2.0.17
20+
SemanticVersion: 2.0.18
2121
SourceCodeUrl: https://github.com/SumoLogic/sumologic-aws-lambda/tree/main/sumologic-app-utils
2222
SpdxLicenseId: Apache-2.0
2323
ReadmeUrl: ./README.md
@@ -28,8 +28,8 @@ Resources:
2828
Type: 'AWS::Serverless::Function'
2929
Properties:
3030
Handler: main.handler
31-
Runtime: python3.12
32-
CodeUri: s3://appdevstore/sumo_app_utils/v2.0.17/sumo_app_utils.zip
31+
Runtime: python3.13
32+
CodeUri: s3://appdevstore/sumo_app_utils/v2.0.18/sumo_app_utils.zip
3333
MemorySize: 128
3434
Timeout: 300
3535
Policies:
5.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)