Skip to content

Commit

Permalink
fix: Provide room to scale out
Browse files Browse the repository at this point in the history
  • Loading branch information
akash1810 committed Oct 11, 2024
1 parent 813f4c1 commit ea1ec55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cdk/lib/__snapshots__/cdk-playground.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Object {
},
"MinInstancesInServiceForcdkplayground": Object {
"Default": 1,
"MaxValue": 1,
"MaxValue": 9,
"Type": "Number",
},
"VpcId": Object {
Expand Down Expand Up @@ -177,7 +177,7 @@ Object {
],
},
},
"MaxSize": "2",
"MaxSize": "10",
"MetricsCollection": Array [
Object {
"Granularity": "1Minute",
Expand Down Expand Up @@ -235,7 +235,7 @@ Object {
"Type": "AWS::AutoScaling::AutoScalingGroup",
"UpdatePolicy": Object {
"AutoScalingRollingUpdate": Object {
"MaxBatchSize": 2,
"MaxBatchSize": 10,
"MinInstancesInService": Object {
"Ref": "MinInstancesInServiceForcdkplayground",
},
Expand Down
2 changes: 1 addition & 1 deletion cdk/lib/cdk-playground.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class CdkPlayground extends GuStack {
monitoringConfiguration: { noMonitoring: true },
scaling: {
minimumInstances: 1,
maximumInstances: 2,
maximumInstances: 10,
},
applicationLogging: {
enabled: true,
Expand Down

0 comments on commit ea1ec55

Please sign in to comment.