Skip to content

Commit d97228a

Browse files
feat(report): Scale new ASG to 0
The infrastructure isn't fully migrated yet, so scale to 0. Co-authored-by: Julia <JuliaBrigitte@users.noreply.github.com>
1 parent f1d2698 commit d97228a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

cdk/bin/cdk.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const registrationCodeProps: RegistrationProps = {
3030
app: 'registration',
3131
env: { region: 'eu-west-1' },
3232
instanceMetricGranularity: '5Minute',
33-
minAsgSize: 1,
33+
minAsgSize: 0,
3434
};
3535

3636
export const registrationProdProps: RegistrationProps = {
@@ -39,8 +39,8 @@ export const registrationProdProps: RegistrationProps = {
3939
app: 'registration',
4040
env: { region: 'eu-west-1' },
4141
instanceMetricGranularity: '1Minute',
42-
maxAsgSize: 12,
43-
minAsgSize: 1,
42+
maxAsgSize: 0,
43+
minAsgSize: 0,
4444
};
4545

4646
new Registration(app, 'Registration-CODE', registrationCodeProps);

cdk/lib/__snapshots__/registration.test.ts.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,13 +220,13 @@ exports[`The Registration stack matches the snapshot for CODE 1`] = `
220220
],
221221
},
222222
},
223-
"MaxSize": "2",
223+
"MaxSize": "0",
224224
"MetricsCollection": [
225225
{
226226
"Granularity": "1Minute",
227227
},
228228
],
229-
"MinSize": "1",
229+
"MinSize": "0",
230230
"Tags": [
231231
{
232232
"Key": "App",
@@ -1880,13 +1880,13 @@ exports[`The Registration stack matches the snapshot for PROD 1`] = `
18801880
],
18811881
},
18821882
},
1883-
"MaxSize": "12",
1883+
"MaxSize": "0",
18841884
"MetricsCollection": [
18851885
{
18861886
"Granularity": "1Minute",
18871887
},
18881888
],
1889-
"MinSize": "1",
1889+
"MinSize": "0",
18901890
"Tags": [
18911891
{
18921892
"Key": "App",

0 commit comments

Comments
 (0)