Skip to content

Commit

Permalink
sumo app utils SAM updated
Browse files Browse the repository at this point in the history
  • Loading branch information
himsharma01 committed Nov 22, 2023
1 parent 1d4c63f commit 002461a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
4 changes: 3 additions & 1 deletion sumologic-app-utils/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

export AWS_PROFILE="prod"
export AWS_REGION="us-east-1"
if [ "$AWS_PROFILE" == "prod" ]
then
SAM_S3_BUCKET="appdevstore"
Expand All @@ -26,7 +28,7 @@ if [ ! -f sumo_app_utils.zip ]; then
rm -r python
fi

version="2.0.15"
version="2.0.11"

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

Expand Down
8 changes: 4 additions & 4 deletions sumologic-app-utils/packaged_sumo_app_utils.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ Metadata:
- sumologic
- serverless
Name: sumologic-app-utils
SemanticVersion: 2.0.10
SemanticVersion: 2.0.11
SourceCodeUrl: https://github.com/SumoLogic/sumologic-aws-lambda/tree/master/sumologic-app-utils
SpdxLicenseId: Apache-2.0
ReadmeUrl: s3://appdevstore/sumo_app_utils/v2.0.10/4d5a92c06a7fa9d956a900e51a1f6be4
ReadmeUrl: s3://appdevstore/sumo_app_utils/v2.0.11/4d5a92c06a7fa9d956a900e51a1f6be4
Resources:
SumoAppUtilsFunction:
Type: AWS::Serverless::Function
Properties:
Handler: main.handler
Runtime: python3.7
CodeUri: s3://appdevstore/sumo_app_utils/v2.0.10/sumo_app_utils.zip
Runtime: python3.11
CodeUri: s3://appdevstore/sumo_app_utils/v2.0.11/sumo_app_utils.zip
MemorySize: 128
Timeout: 300
Policies:
Expand Down
6 changes: 3 additions & 3 deletions sumologic-app-utils/sumo_app_utils.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Metadata:
- sumologic
- serverless
Name: sumologic-app-utils
SemanticVersion: 2.0.10
SemanticVersion: 2.0.11
SourceCodeUrl: https://github.com/SumoLogic/sumologic-aws-lambda/tree/master/sumologic-app-utils
SpdxLicenseId: Apache-2.0
ReadmeUrl: ./README.md
Expand All @@ -28,8 +28,8 @@ Resources:
Type: 'AWS::Serverless::Function'
Properties:
Handler: main.handler
Runtime: python3.7
CodeUri: s3://appdevstore/sumo_app_utils/v2.0.10/sumo_app_utils.zip
Runtime: python3.11
CodeUri: s3://appdevstore/sumo_app_utils/v2.0.11/sumo_app_utils.zip
MemorySize: 128
Timeout: 300
Policies:
Expand Down
Binary file modified sumologic-app-utils/sumo_app_utils.zip
Binary file not shown.

0 comments on commit 002461a

Please sign in to comment.