Skip to content

Commit 7d908ae

Browse files
author
GitHub Actions
committed
chore: Update dist
1 parent adb3998 commit 7d908ae

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

dist/index.js

+3-15
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ async function run() {
264264
const cluster = core.getInput('cluster', { required: false });
265265
const count = core.getInput('count', { required: true });
266266
const startedBy = core.getInput('started-by', { required: false }) || agent;
267-
const subnets = core.getInput('subnets', { required: true });
267+
const subnet = core.getInput('subnet', { required: true });
268268
const waitForFinish = core.getInput('wait-for-finish', { required: false }) || false;
269269
let waitForMinutes = parseInt(core.getInput('wait-for-minutes', { required: false })) || 30;
270270
if (waitForMinutes > MAX_WAIT_MINUTES) {
@@ -300,19 +300,7 @@ async function run() {
300300
startedBy: startedBy,
301301
networkConfiguration: {
302302
awsvpcConfiguration: {
303-
subnets: subnets
304-
},
305-
},
306-
})}`)
307-
308-
console.log(`Running task with ${JSON.stringify({
309-
cluster: clusterName,
310-
taskDefinition: taskDefArn,
311-
count: count,
312-
startedBy: startedBy,
313-
networkConfiguration: {
314-
awsvpcConfiguration: {
315-
subnets: subnets
303+
subnets: [subnet]
316304
},
317305
},
318306
})}`)
@@ -324,7 +312,7 @@ async function run() {
324312
startedBy: startedBy,
325313
networkConfiguration: {
326314
awsvpcConfiguration: {
327-
subnets: subnets
315+
subnets: [subnet]
328316
},
329317
},
330318
}).promise();

0 commit comments

Comments
 (0)