File tree 1 file changed +3
-15
lines changed
1 file changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ async function run() {
264
264
const cluster = core.getInput('cluster', { required: false });
265
265
const count = core.getInput('count', { required: true });
266
266
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 });
268
268
const waitForFinish = core.getInput('wait-for-finish', { required: false }) || false;
269
269
let waitForMinutes = parseInt(core.getInput('wait-for-minutes', { required: false })) || 30;
270
270
if (waitForMinutes > MAX_WAIT_MINUTES) {
@@ -300,19 +300,7 @@ async function run() {
300
300
startedBy: startedBy,
301
301
networkConfiguration: {
302
302
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]
316
304
},
317
305
},
318
306
})}`)
@@ -324,7 +312,7 @@ async function run() {
324
312
startedBy: startedBy,
325
313
networkConfiguration: {
326
314
awsvpcConfiguration: {
327
- subnets: subnets
315
+ subnets: [subnet]
328
316
},
329
317
},
330
318
}).promise();
You can’t perform that action at this time.
0 commit comments