Skip to content

Commit

Permalink
fix: make --task-role-name work on fargate (#2669)
Browse files Browse the repository at this point in the history
  • Loading branch information
InesNi authored Apr 26, 2024
1 parent 78dae8f commit 69471c7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/artillery/lib/cmds/run-fargate.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ class RunCommand extends Command {
{ testRunId: 'foo', region: flags.region }
);
await ECS.init();

flags.taskRoleName = ECS_WORKER_ROLE_NAME;
flags.taskRoleName = flags['task-role-name'] || ECS_WORKER_ROLE_NAME;
process.env.USE_NOOP_BACKEND_STORE = 'true';

telemetry.capture('run:fargate', {
Expand Down

0 comments on commit 69471c7

Please sign in to comment.