Skip to content

Commit df90a53

Browse files
committed
Fix autoscaling deployments
1 parent c3b2648 commit df90a53

3 files changed

Lines changed: 0 additions & 15 deletions

File tree

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,6 @@ exports[`The Report stack matches the snapshot for CODE 1`] = `
131131
"PropagateAtLaunch": true,
132132
"Value": "guardian/mobile-n10n",
133133
},
134-
{
135-
"Key": "gu:riffraff:new-asg",
136-
"PropagateAtLaunch": true,
137-
"Value": "true",
138-
},
139134
{
140135
"Key": "LogKinesisStreamName",
141136
"PropagateAtLaunch": true,
@@ -1074,11 +1069,6 @@ exports[`The Report stack matches the snapshot for PROD 1`] = `
10741069
"PropagateAtLaunch": true,
10751070
"Value": "guardian/mobile-n10n",
10761071
},
1077-
{
1078-
"Key": "gu:riffraff:new-asg",
1079-
"PropagateAtLaunch": true,
1080-
"Value": "true",
1081-
},
10821072
{
10831073
"Key": "LogKinesisStreamName",
10841074
"PropagateAtLaunch": true,

cdk/lib/report.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import { GuStack } from '@guardian/cdk/lib/constructs/core';
88
import { GuCname } from '@guardian/cdk/lib/constructs/dns';
99
import { GuAllowPolicy } from '@guardian/cdk/lib/constructs/iam';
1010
import type { App } from 'aws-cdk-lib';
11-
import { Tags } from 'aws-cdk-lib';
1211
import { Duration } from 'aws-cdk-lib';
1312
import type { CfnAutoScalingGroup } from 'aws-cdk-lib/aws-autoscaling';
1413
import { InstanceClass, InstanceSize, InstanceType } from 'aws-cdk-lib/aws-ec2';
@@ -90,9 +89,6 @@ export class Report extends GuStack {
9089
`/opt/aws-kinesis-agent/configure-aws-kinesis-agent ${this.region} mobile-log-aggregation-${this.stage} /var/log/${app}/application.log`,
9190
);
9291

93-
// This is needed to dual-stack; it can be removed once the legacy infrastructure is cleaned up
94-
Tags.of(playApp.autoScalingGroup).add('gu:riffraff:new-asg', 'true');
95-
9692
const vpcParameter = GuVpcParameter.getInstance(this);
9793
// This is necessary whilst dual-stacking because there is already a parameter called VpcId in the YAML template
9894
// Once the YAML template has been removed we should be able to drop this override

report/conf/riff-raff.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ deployments:
1616
report:
1717
type: autoscaling
1818
parameters:
19-
asgMigrationInProgress: true
2019
bucketSsmLookup: true
2120
bucketSsmKey: /account/services/artifact.bucket.n10n
2221
dependencies: [report-cfn]

0 commit comments

Comments
 (0)