Skip to content

Commit 6af4656

Browse files
committed
Fix instance logging
1 parent 96545be commit 6af4656

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

  • modules/runners/lambdas/scale-runners/src/scale-runners

modules/runners/lambdas/scale-runners/src/scale-runners/runners.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,7 @@ export async function createRunner(runnerParameters: RunnerInputParameters): Pro
8787
],
8888
})
8989
.promise();
90-
console.info(
91-
'Created instance(s): ',
92-
runInstancesResponse.Instances?.forEach((i: EC2.Instance) => {
93-
i.InstanceId;
94-
}),
95-
);
90+
console.info('Created instance(s): ', runInstancesResponse.Instances?.map((i) => i.InstanceId).join(','));
9691

9792
const ssm = new SSM();
9893
runInstancesResponse.Instances?.forEach(async (i: EC2.Instance) => {

0 commit comments

Comments
 (0)