File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 3030rustv1 :
3131 account_id : " 050288538048"
3232 status : " enabled"
33+ storage : " 30"
3334sapabap :
3435 account_id : " 099736152523"
3536 status : " enabled"
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ interface AccountConfig {
99 status : "enabled" | "disabled" ;
1010 vcpus ?: string ;
1111 memory ?: string ;
12+ storage ?: string ;
1213}
1314
1415interface AccountConfigs {
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ class PluginStack extends cdk.Stack {
2424 private adminAccountId : string ;
2525 private batchMemory : string ;
2626 private batchVcpus : string ;
27+ private batchStorage : string ;
2728
2829 constructor ( scope : Construct , id : string , props ?: cdk . StackProps ) {
2930 super ( scope , id , props ) ;
@@ -41,6 +42,7 @@ class PluginStack extends cdk.Stack {
4142 this . initSubscribeSns ( sqsQueue , snsTopic ) ;
4243 this . batchMemory = acctConfig [ `${ toolName } ` ] ?. memory ?? "16384" ;
4344 this . batchVcpus = acctConfig [ `${ toolName } ` ] ?. vcpus ?? "4" ;
45+ this . batchStorage = acctConfig [ `${ toolName } ` ] ?. storage ?? "20" ;
4446 }
4547 const [ jobDefinition , jobQueue ] = this . initBatchFargate ( ) ;
4648 const batchFunction = this . initBatchLambda ( jobQueue , jobDefinition ) ;
@@ -134,6 +136,9 @@ class PluginStack extends cdk.Stack {
134136 value : this . batchMemory ,
135137 } ,
136138 ] ,
139+ ephemeralStorage : {
140+ sizeInGib : this . batchStorage ,
141+ }
137142 } ,
138143 platformCapabilities : [ "FARGATE" ] ,
139144 } ) ;
You can’t perform that action at this time.
0 commit comments