File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -210,11 +210,6 @@ exports[`The Report stack matches the snapshot for CODE 1`] = `
210210 " PropagateAtLaunch" : true ,
211211 " Value" : " guardian/mobile-n10n" ,
212212 },
213- {
214- " Key" : " gu:riffraff:new-asg" ,
215- " PropagateAtLaunch" : true ,
216- " Value" : " true" ,
217- },
218213 {
219214 " Key" : " LogKinesisStreamName" ,
220215 " PropagateAtLaunch" : true ,
@@ -1678,11 +1673,6 @@ exports[`The Report stack matches the snapshot for PROD 1`] = `
16781673 " PropagateAtLaunch" : true ,
16791674 " Value" : " guardian/mobile-n10n" ,
16801675 },
1681- {
1682- " Key" : " gu:riffraff:new-asg" ,
1683- " PropagateAtLaunch" : true ,
1684- " Value" : " true" ,
1685- },
16861676 {
16871677 " Key" : " LogKinesisStreamName" ,
16881678 " PropagateAtLaunch" : true ,
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ import { GuStack } from '@guardian/cdk/lib/constructs/core';
99import { GuCname } from '@guardian/cdk/lib/constructs/dns' ;
1010import { GuAllowPolicy } from '@guardian/cdk/lib/constructs/iam' ;
1111import type { App } from 'aws-cdk-lib' ;
12- import { Tags } from 'aws-cdk-lib' ;
1312import { Duration } from 'aws-cdk-lib' ;
1413import type { CfnAutoScalingGroup } from 'aws-cdk-lib/aws-autoscaling' ;
1514import { InstanceClass , InstanceSize , InstanceType } from 'aws-cdk-lib/aws-ec2' ;
@@ -103,9 +102,6 @@ export class Report extends GuStack {
103102 `/opt/aws-kinesis-agent/configure-aws-kinesis-agent ${ this . region } mobile-log-aggregation-${ this . stage } /var/log/${ app } /application.log` ,
104103 ) ;
105104
106- // This is needed to dual-stack; it can be removed once the legacy infrastructure is cleaned up
107- Tags . of ( playApp . autoScalingGroup ) . add ( 'gu:riffraff:new-asg' , 'true' ) ;
108-
109105 const vpcParameter = GuVpcParameter . getInstance ( this ) ;
110106 // This is necessary whilst dual-stacking because there is already a parameter called VpcId in the YAML template
111107 // Once the YAML template has been removed we should be able to drop this override
Original file line number Diff line number Diff line change @@ -210,16 +210,6 @@ Resources:
210210 - autoscaling:EC2_INSTANCE_LAUNCH_ERROR
211211 - autoscaling:EC2_INSTANCE_TERMINATE_ERROR
212212 TopicARN : !Sub arn:aws:sns:eu-west-1:${AWS::AccountId}:AutoscalingNotifications${Stage}
213- Tags :
214- - Key : Stage
215- PropagateAtLaunch : true
216- Value : !Ref Stage
217- - Key : Stack
218- PropagateAtLaunch : true
219- Value : !FindInMap [Constants, Stack, Value]
220- - Key : App
221- PropagateAtLaunch : true
222- Value : !FindInMap [Constants, App, Value]
223213 VPCZoneIdentifier : !Ref PrivateSubnets
224214 ReportLaunchConfig :
225215 Type : AWS::AutoScaling::LaunchConfiguration
Original file line number Diff line number Diff 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]
You can’t perform that action at this time.
0 commit comments