Skip to content

Commit

Permalink
feat: support 'lambda-role-arn' for specifying Lambda role
Browse files Browse the repository at this point in the history
  • Loading branch information
hassy committed Jun 20, 2023
1 parent 6e8f0e4 commit 75b215f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/artillery/lib/platform/aws-lambda/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class PlatformLambda {
this.memorySize = platformConfig['memory-size'] || 4096;

this.testRunId = platformOpts.testRunId || randomUUID();
this.lambdaRoleArn = platformConfig['lambdaRoleArn'];
this.lambdaRoleArn = platformConfig['lambda-role-arn'] || platformConfig['lambdaRoleArn'];

this.platformOpts = platformOpts;

Expand Down

0 comments on commit 75b215f

Please sign in to comment.