Skip to content

Commit 69471c7

Browse files
authored
fix: make --task-role-name work on fargate (#2669)
1 parent 78dae8f commit 69471c7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/artillery/lib/cmds/run-fargate.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ class RunCommand extends Command {
7171
{ testRunId: 'foo', region: flags.region }
7272
);
7373
await ECS.init();
74-
75-
flags.taskRoleName = ECS_WORKER_ROLE_NAME;
74+
flags.taskRoleName = flags['task-role-name'] || ECS_WORKER_ROLE_NAME;
7675
process.env.USE_NOOP_BACKEND_STORE = 'true';
7776

7877
telemetry.capture('run:fargate', {

0 commit comments

Comments
 (0)