GithubHelp home page GithubHelp logo

Comments (4)

hassy avatar hassy commented on July 17, 2024

The role is not random, it's the role that AWS Lambda functions running the test will assume. You can see the full definition of what's created here: https://github.com/artilleryio/artillery/blob/main/packages/artillery/lib/platform/aws-lambda/index.js#L489

Artillery should've created a policy attached to that role which allows SQS access: https://github.com/artilleryio/artillery/blob/main/packages/artillery/lib/platform/aws-lambda/index.js#L540

Can you confirm if it's there?

from artillery.

hassy avatar hassy commented on July 17, 2024

Also did this happen just once, or is it happening repeatedly?

We're looking at similar issue on AWS Fargate right now where the very first run of an Artillery test in an AWS account can fail with a very similar error due to IAM propagation lag. cc @InesNi

from artillery.

jaxoncreed avatar jaxoncreed commented on July 17, 2024

Ah I figured out the problem. Yes, it happened repeatedly. My problem was that I had already created a role named "artilleryio-default-lambda-role" Deleting that role seemingly fixed the problem.

from artillery.

bernardobridge avatar bernardobridge commented on July 17, 2024

@jaxoncreed I'd also recommend updating to the latest Artillery version (https://github.com/artilleryio/artillery/releases/tag/artillery-2.0.15).

Lambda support received a large refactor with a lot of improvements. Older Lambda versions may not work as intended, as there were some issues we resolved in the update we did.

from artillery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤ī¸ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.