Skip to content

Commit

Permalink
Removed mumbai deployment from sumo_app_utils
Browse files Browse the repository at this point in the history
  • Loading branch information
akhil-sumologic committed Feb 3, 2025
1 parent 6c9a444 commit 45ff654
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion sumologic-app-utils/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ rm sumo_app_utils.zip

./build.sh

version="2.0.19"
version="2.0.20"

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
6 changes: 3 additions & 3 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.19
SemanticVersion: 2.0.20
SourceCodeUrl: https://github.com/SumoLogic/sumologic-aws-lambda/tree/main/sumologic-app-utils
SpdxLicenseId: Apache-2.0
ReadmeUrl: s3://appdevstore/sumo_app_utils/v2.0.19/4d5a92c06a7fa9d956a900e51a1f6be4
ReadmeUrl: s3://appdevstore/sumo_app_utils/v2.0.20/4d5a92c06a7fa9d956a900e51a1f6be4
Resources:
SumoAppUtilsFunction:
Type: AWS::Serverless::Function
Properties:
Handler: main.handler
Runtime: python3.13
CodeUri: s3://appdevstore/sumo_app_utils/v2.0.19/sumo_app_utils.zip
CodeUri: s3://appdevstore/sumo_app_utils/v2.0.20/sumo_app_utils.zip
MemorySize: 128
Timeout: 300
Policies:
Expand Down
2 changes: 1 addition & 1 deletion sumologic-app-utils/src/sumoresource.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def extract_params(self, event):
def api_endpoint(self):
if self.deployment == "us1":
return "https://api.sumologic.com/api"
elif self.deployment in ["ca", "au", "de", "eu", "jp", "us2", "fed", "in", 'kr']:
elif self.deployment in ["ca", "au", "de", "eu", "jp", "us2", "fed", 'kr']:
return "https://api.%s.sumologic.com/api" % self.deployment
else:
return 'https://%s-api.sumologic.net/api' % self.deployment
Expand Down
4 changes: 2 additions & 2 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.19
SemanticVersion: 2.0.20
SourceCodeUrl: https://github.com/SumoLogic/sumologic-aws-lambda/tree/main/sumologic-app-utils
SpdxLicenseId: Apache-2.0
ReadmeUrl: ./README.md
Expand All @@ -29,7 +29,7 @@ Resources:
Properties:
Handler: main.handler
Runtime: python3.13
CodeUri: s3://appdevstore/sumo_app_utils/v2.0.19/sumo_app_utils.zip
CodeUri: s3://appdevstore/sumo_app_utils/v2.0.20/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 45ff654

Please # to comment.