Skip to content

2.0.27: Missing ECR on run-lambda #3668

Description

@itsrichieryan

Version info:

2.0.25

Running this command:

artillery run-lambda --region us-east-1 tests/test.ts

I expected to see this happen:

Lambda function deployed, test run

Instead, this happened:

node_modules/artillery/lib/platform/aws-lambda/index.js:635
      throw new Error(`Failed to create Lambda Function: \n${err}`);
            ^

Error: Failed to create Lambda Function: 
InvalidParameterValueException: Source image 248481025674.dkr.ecr.us-east-1.amazonaws.com/artillery-worker:2.0.27-arm64 does not exist. Provide a valid source image.
    at PlatformLambda.createOrUpdateLambdaFunctionIfNeeded (/node_modules/artillery/lib/platform/aws-lambda/index.js:635:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async PlatformLambda.init (/node_modules/artillery/lib/platform/aws-lambda/index.js:232:5)
    at async PlatformLambda.startJob (/node_modules/artillery/lib/platform/aws-lambda/index.js:399:5)
    at async Launcher.run (/node_modules/artillery/lib/launch-platform.js:413:5)

Downgrading to 2.0.25 works for me

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions