Skip to content

Commit

Permalink
Merge pull request #209 from SumoLogic/sumo_247335
Browse files Browse the repository at this point in the history
Added support korea deployment for cloudtrailbenchmark
  • Loading branch information
akhil-sumologic authored Jan 30, 2025
2 parents 63317cb + b49ba2b commit f8e5632
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 23 deletions.
16 changes: 9 additions & 7 deletions cloudtrailbenchmark/packaged.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ Metadata:
- benchmark
- cloudtrail
Name: sumologic-aws-cloudtrail-benchmark
LicenseUrl: s3://appdevstore/cloudtrailbenchmark/v1.0.18/cac1a6df52c685e0f6ebe4ae72078c80
ReadmeUrl: s3://appdevstore/cloudtrailbenchmark/v1.0.18/8a901bb4fbbe82f128fc502dd3077508
SemanticVersion: 1.0.18
LicenseUrl: s3://appdevstore/cloudtrailbenchmark/v1.0.19/cac1a6df52c685e0f6ebe4ae72078c80
ReadmeUrl: s3://appdevstore/cloudtrailbenchmark/v1.0.19/8a901bb4fbbe82f128fc502dd3077508
SemanticVersion: 1.0.19
SourceCodeUrl: https://github.com/SumoLogic/sumologic-aws-lambda/tree/main/cloudtrailbenchmark
Parameters:
CollectorName:
Expand All @@ -61,19 +61,21 @@ Parameters:
Type: String
SumoAccessKey:
Type: String
NoEcho: true
SumoDeployment:
Type: String
AllowedValues:
- au
- ca
- de
- eu
- fed
- in
- jp
- us2
- kr
- us1
- in
- fed
Description: Enter au, ca, de, eu, jp, us2, in, fed or us1
- us2
Description: Enter au, ca, de, eu, fed, in, jp, kr, us1 or us2
RemoveSumoResourcesOnDeleteStack:
AllowedValues:
- true
Expand Down
13 changes: 8 additions & 5 deletions cloudtrailbenchmark/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Metadata:
Name: sumologic-aws-cloudtrail-benchmark
LicenseUrl: ./LICENSE
ReadmeUrl: ./README.md
SemanticVersion: 1.0.18
SemanticVersion: 1.0.19
SourceCodeUrl: https://github.com/SumoLogic/sumologic-aws-lambda/tree/main/cloudtrailbenchmark


Expand All @@ -67,19 +67,21 @@ Parameters:
Type: String
SumoAccessKey:
Type: String
NoEcho: true
SumoDeployment:
Type: String
AllowedValues:
- au
- ca
- de
- eu
- fed
- in
- jp
- us2
- kr
- us1
- in
- fed
Description: "Enter au, ca, de, eu, jp, us2, in, fed or us1"
- us2
Description: "Enter au, ca, de, eu, fed, in, jp, kr, us1 or us2"
RemoveSumoResourcesOnDeleteStack:
AllowedValues:
- true
Expand Down Expand Up @@ -125,6 +127,7 @@ Resources:
ApplicationId: arn:aws:serverlessrepo:us-east-1:956882708938:applications/sumologic-app-utils
SemanticVersion: 2.0.19


SumoRole:
Condition: SetupSumoResources
Type: AWS::IAM::Role
Expand Down
21 changes: 11 additions & 10 deletions cloudtrailbenchmark/test/custom/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,17 @@ Parameters:
SumoDeployment:
Type: String
AllowedValues:
- au
- ca
- de
- eu
- jp
- us2
- us1
- in
- fed
Description: Enter au, ca, de, eu, jp, us2, in, fed or us1
- au
- ca
- de
- eu
- fed
- in
- jp
- kr
- us1
- us2
Description: "Enter au, ca, de, eu, fed, in, jp, kr, us1 or us2"
RemoveSumoResourcesOnDeleteStack:
AllowedValues:
- true
Expand Down
2 changes: 1 addition & 1 deletion cloudtrailbenchmark/testdeploy.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ else
fi
uid=$(cat /dev/random | LC_CTYPE=C tr -dc "[:lower:]" | head -c 6)

version="1.0.18"
version="1.0.19"

sam package --template-file template.yaml --s3-bucket $SAM_S3_BUCKET --output-template-file packaged.yaml --s3-prefix "cloudtrailbenchmark/v$version" --region $AWS_REGION --profile $AWS_PROFILE

Expand Down

0 comments on commit f8e5632

Please sign in to comment.