@@ -76,7 +76,6 @@ export namespace InitialSetup {
7676 suffixLength : 0 ,
7777 } ) ,
7878 partitionKey : { name : 'id' , type : dynamodb . AttributeType . STRING } ,
79- encryption : dynamodb . TableEncryption . DEFAULT ,
8079 } ) ;
8180
8281 const outputsTable = new dynamodb . Table ( this , 'Outputs' , {
@@ -88,7 +87,6 @@ export namespace InitialSetup {
8887 name : 'id' ,
8988 type : dynamodb . AttributeType . STRING ,
9089 } ,
91- encryption : dynamodb . TableEncryption . DEFAULT ,
9290 } ) ;
9391
9492 const outputUtilsTable = new dynamodb . Table ( this , 'OutputUtils' , {
@@ -100,7 +98,6 @@ export namespace InitialSetup {
10098 name : 'id' ,
10199 type : dynamodb . AttributeType . STRING ,
102100 } ,
103- encryption : dynamodb . TableEncryption . DEFAULT ,
104101 } ) ;
105102
106103 // This is the maximum time before a build times out
@@ -260,6 +257,7 @@ export namespace InitialSetup {
260257 } ,
261258 ) ;
262259
260+ // tslint:disable-next-line: deprecation
263261 const createLandingZoneAccountTask = new sfn . Task ( this , 'Create Landing Zone Account' , {
264262 // tslint:disable-next-line: deprecation
265263 task : new tasks . StartExecution ( createLandingZoneAccountStateMachine , {
@@ -306,6 +304,7 @@ export namespace InitialSetup {
306304 } ,
307305 } ) ;
308306
307+ // tslint:disable-next-line: deprecation
309308 const createOrganizationAccountTask = new sfn . Task ( this , 'Create Organization Account' , {
310309 // tslint:disable-next-line: deprecation
311310 task : new tasks . StartExecution ( createOrganizationAccountStateMachine , {
@@ -376,6 +375,7 @@ export namespace InitialSetup {
376375 } ,
377376 ) ;
378377
378+ // tslint:disable-next-line: deprecation
379379 const installCfnRoleMasterTask = new sfn . Task ( this , 'Install CloudFormation Role in Master' , {
380380 // tslint:disable-next-line: deprecation
381381 task : new tasks . StartExecution ( installCfnRoleMasterStateMachine , {
@@ -407,6 +407,7 @@ export namespace InitialSetup {
407407 } ) ,
408408 } ) ;
409409
410+ // tslint:disable-next-line: deprecation
410411 const installRolesTask = new sfn . Task ( this , 'Install Execution Roles' , {
411412 // tslint:disable-next-line: deprecation
412413 task : new tasks . StartExecution ( installRolesStateMachine , {
@@ -442,6 +443,7 @@ export namespace InitialSetup {
442443 } ) ,
443444 } ) ;
444445
446+ // tslint:disable-next-line: deprecation
445447 const deleteVpcTask = new sfn . Task ( this , 'Delete Default Vpcs' , {
446448 // tslint:disable-next-line: deprecation
447449 task : new tasks . StartExecution ( deleteVpcSfn , {
@@ -524,6 +526,7 @@ export namespace InitialSetup {
524526 } ,
525527 ) ;
526528
529+ // tslint:disable-next-line: deprecation
527530 const storeAllOutputsToSsmTask = new sfn . Task ( this , 'Store Outputs to SSM' , {
528531 // tslint:disable-next-line: deprecation
529532 task : new tasks . StartExecution ( storeOutputsToSsmStateMachine , {
@@ -596,6 +599,7 @@ export namespace InitialSetup {
596599 CONFIG_BRANCH_NAME : props . configBranchName ,
597600 STACK_OUTPUT_TABLE_NAME : outputsTable . tableName ,
598601 } ;
602+ // tslint:disable-next-line: deprecation
599603 const deployTask = new sfn . Task ( this , `Deploy Phase ${ phase } ` , {
600604 // tslint:disable-next-line: deprecation
601605 task : new tasks . StartExecution ( codeBuildStateMachine , {
@@ -619,6 +623,7 @@ export namespace InitialSetup {
619623 } ) ;
620624
621625 const createStoreOutputTask = ( phase : number ) => {
626+ // tslint:disable-next-line: deprecation
622627 const storeOutputsTask = new sfn . Task ( this , `Store Phase ${ phase } Outputs` , {
623628 // tslint:disable-next-line: deprecation
624629 task : new tasks . StartExecution ( storeOutputsStateMachine , {
@@ -657,6 +662,7 @@ export namespace InitialSetup {
657662 } ,
658663 } ) ;
659664
665+ // tslint:disable-next-line: deprecation
660666 const storeAllOutputsTask = new sfn . Task ( this , `Store All Phase Outputs` , {
661667 // tslint:disable-next-line: deprecation
662668 task : new tasks . StartExecution ( storeOutputsStateMachine , {
@@ -706,6 +712,7 @@ export namespace InitialSetup {
706712 } ) ,
707713 } ) ;
708714
715+ // tslint:disable-next-line: deprecation
709716 const createConfigRecordersTask = new sfn . Task ( this , 'Create Config Recorders' , {
710717 // tslint:disable-next-line: deprecation
711718 task : new tasks . StartExecution ( createConfigRecorderSfn , {
@@ -800,6 +807,7 @@ export namespace InitialSetup {
800807 } ) ,
801808 } ) ;
802809
810+ // tslint:disable-next-line: deprecation
803811 const createAdConnectorTask = new sfn . Task ( this , 'Create AD Connector' , {
804812 // tslint:disable-next-line: deprecation
805813 task : new tasks . StartExecution ( createAdConnectorStateMachine , {
@@ -836,6 +844,7 @@ export namespace InitialSetup {
836844 . otherwise ( storeAllOutputsToSsmTask ) ;
837845
838846 const commonStep1 = addScpTask . startState
847+ // tslint:disable-next-line: deprecation
839848 . next ( deployPhase1Task )
840849 . next ( storePhase1Output )
841850 . next ( accountDefaultSettingsTask )
@@ -853,11 +862,13 @@ export namespace InitialSetup {
853862 . next ( baseLineCleanupChoice ) ;
854863
855864 const enableConfigChoice = new sfn . Choice ( this , 'Create Config Recorders?' )
865+ // tslint:disable-next-line: deprecation
856866 . when ( sfn . Condition . stringEquals ( '$.baseline' , 'ORGANIZATIONS' ) , createConfigRecordersTask . next ( commonStep1 ) )
857867 . otherwise ( commonStep1 )
858868 . afterwards ( ) ;
859869
860870 const commonStep2 = deployPhaseRolesTask
871+ // tslint:disable-next-line: deprecation
861872 . next ( storePreviousOutput )
862873 . next ( deployPhase0Task )
863874 . next ( storePhase0Output )
@@ -870,6 +881,7 @@ export namespace InitialSetup {
870881 . afterwards ( ) ;
871882
872883 const commonDefinition = loadOrganizationsTask . startState
884+ // tslint:disable-next-line: deprecation
873885 . next ( loadAccountsTask )
874886 . next ( installRolesTask )
875887 . next ( deleteVpcTask )
@@ -879,6 +891,7 @@ export namespace InitialSetup {
879891
880892 // Landing Zone Config Setup
881893 const alzConfigDefinition = loadLandingZoneConfigurationTask . startState
894+ // tslint:disable-next-line: deprecation
882895 . next ( addRoleToServiceCatalog )
883896 . next ( createLandingZoneAccountsTask )
884897 . next ( commonDefinition ) ;
@@ -891,10 +904,12 @@ export namespace InitialSetup {
891904 . otherwise ( createOrganizationAccountsTask )
892905 . afterwards ( ) ;
893906
907+ // tslint:disable-next-line: deprecation
894908 installCfnRoleMasterTask . next ( createOrganizationAccountsTask ) . next ( commonDefinition ) ;
895909
896910 // // Organizations Config Setup
897911 const orgConfigDefinition = validateOuConfiguration . startState
912+ // tslint:disable-next-line: deprecation
898913 . next ( loadOrgConfigurationTask )
899914 . next ( cloudFormationMasterRoleChoice ) ;
900915
0 commit comments