Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .tools/test/stacks/config/targets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ interface AccountConfig {
status: "enabled" | "disabled";
vcpus?: string;
memory?: string;
storage?: string;
}

interface AccountConfigs {
Expand Down
5 changes: 5 additions & 0 deletions .tools/test/stacks/plugin/typescript/plugin_stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class PluginStack extends cdk.Stack {
private adminAccountId: string;
private batchMemory: string;
private batchVcpus: string;
private batchStorage: string;

constructor(scope: Construct, id: string, props?: cdk.StackProps) {
super(scope, id, props);
Expand All @@ -42,6 +43,7 @@ class PluginStack extends cdk.Stack {
this.initSubscribeSns(sqsQueue, snsTopic);
this.batchMemory = acctConfig[`${toolName}`]?.memory ?? "16384";
this.batchVcpus = acctConfig[`${toolName}`]?.vcpus ?? "4";
this.batchStorage = acctConfig[`${toolName}`]?.storage ?? "20";
}

const [jobDefinition, jobQueue] = this.initBatchFargate();
Expand Down Expand Up @@ -137,6 +139,9 @@ class PluginStack extends cdk.Stack {
value: this.batchMemory,
},
],
ephemeralStorage: {
sizeInGib: this.batchStorage,
},
environment: variableConfigJson,
},
platformCapabilities: ["FARGATE"],
Expand Down
Loading