From 00fb758491d24c9bf29a589daaf96f5c5ee5d28a Mon Sep 17 00:00:00 2001 From: Akhil Dangore Date: Mon, 21 Oct 2024 19:04:39 +0530 Subject: [PATCH] Added support korea deployment for cloudtrailbenchmark --- cloudtrailbenchmark/packaged.yaml | 18 ++++++++++-------- cloudtrailbenchmark/template.yaml | 14 ++++++++------ cloudtrailbenchmark/test/custom/app.yaml | 21 +++++++++++---------- cloudtrailbenchmark/testdeploy.sh | 2 +- 4 files changed, 30 insertions(+), 25 deletions(-) mode change 100755 => 100644 cloudtrailbenchmark/testdeploy.sh diff --git a/cloudtrailbenchmark/packaged.yaml b/cloudtrailbenchmark/packaged.yaml index 35df278..53df7db 100644 --- a/cloudtrailbenchmark/packaged.yaml +++ b/cloudtrailbenchmark/packaged.yaml @@ -43,9 +43,9 @@ Metadata: - benchmark - cloudtrail Name: sumologic-aws-cloudtrail-benchmark - LicenseUrl: s3://appdevstore/cloudtrailbenchmark/v1.0.16/cac1a6df52c685e0f6ebe4ae72078c80 - ReadmeUrl: s3://appdevstore/cloudtrailbenchmark/v1.0.16/8a901bb4fbbe82f128fc502dd3077508 - SemanticVersion: 1.0.16 + LicenseUrl: s3://appdevstore/cloudtrailbenchmark/v1.0.17/cac1a6df52c685e0f6ebe4ae72078c80 + ReadmeUrl: s3://appdevstore/cloudtrailbenchmark/v1.0.17/8a901bb4fbbe82f128fc502dd3077508 + SemanticVersion: 1.0.17 SourceCodeUrl: https://github.com/SumoLogic/sumologic-aws-lambda/tree/main/cloudtrailbenchmark Parameters: CollectorName: @@ -61,6 +61,7 @@ Parameters: Type: String SumoAccessKey: Type: String + NoEcho: true SumoDeployment: Type: String AllowedValues: @@ -68,12 +69,13 @@ Parameters: - 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 @@ -127,7 +129,7 @@ Resources: Properties: Location: ApplicationId: arn:aws:serverlessrepo:us-east-1:956882708938:applications/sumologic-app-utils - SemanticVersion: 2.0.16 + SemanticVersion: 2.0.17 Metadata: SamResourceId: SumoAppUtils SumoRole: diff --git a/cloudtrailbenchmark/template.yaml b/cloudtrailbenchmark/template.yaml index fbeedcb..1a77ba6 100644 --- a/cloudtrailbenchmark/template.yaml +++ b/cloudtrailbenchmark/template.yaml @@ -49,7 +49,7 @@ Metadata: Name: sumologic-aws-cloudtrail-benchmark LicenseUrl: ./LICENSE ReadmeUrl: ./README.md - SemanticVersion: 1.0.16 + SemanticVersion: 1.0.17 SourceCodeUrl: https://github.com/SumoLogic/sumologic-aws-lambda/tree/main/cloudtrailbenchmark @@ -67,6 +67,7 @@ Parameters: Type: String SumoAccessKey: Type: String + NoEcho: true SumoDeployment: Type: String AllowedValues: @@ -74,12 +75,13 @@ Parameters: - 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 @@ -123,7 +125,7 @@ Resources: Properties: Location: ApplicationId: arn:aws:serverlessrepo:us-east-1:956882708938:applications/sumologic-app-utils - SemanticVersion: 2.0.16 + SemanticVersion: 2.0.17 SumoRole: Condition: SetupSumoResources diff --git a/cloudtrailbenchmark/test/custom/app.yaml b/cloudtrailbenchmark/test/custom/app.yaml index 872c02f..10fa0a8 100644 --- a/cloudtrailbenchmark/test/custom/app.yaml +++ b/cloudtrailbenchmark/test/custom/app.yaml @@ -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 diff --git a/cloudtrailbenchmark/testdeploy.sh b/cloudtrailbenchmark/testdeploy.sh old mode 100755 new mode 100644 index 975239f..c4e4308 --- a/cloudtrailbenchmark/testdeploy.sh +++ b/cloudtrailbenchmark/testdeploy.sh @@ -12,7 +12,7 @@ else fi uid=$(cat /dev/random | LC_CTYPE=C tr -dc "[:lower:]" | head -c 6) -version="1.0.15" +version="1.0.17" 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