artilleryio / artillery

The complete load testing platform. Everything you need for production-grade load tests. Serverless & distributed. Load test with Playwright. Load test HTTP APIs, GraphQL, WebSocket, and more. Use any Node.js module.
https://www.artillery.io
Mozilla Public License 2.0
8.06k stars 511 forks source link

Tags flag is not working in run-lambda command #3343

Open dkleczko opened 2 months ago

dkleczko commented 2 months ago

Version info:

VERSION INFO:

Artillery: 2.0.20
Node.js:   v20.17.0
OS:        linux

Running this command:

artillery run-lambda --dotenv .env-test --tags service:artillery,team:arch--subnet-ids <ids> --security-group-ids <sc>--region eu-west-2 tests.yml 

I expected to see this happen:

Values from --tags should be applied to lambda that is created

Instead, this happened:

In documentation there are lambda specific flags: https://www.artillery.io/docs/reference/cli/run-lambda#lambda-specific-flags I would expect that tags from run-lambda command would be added to resource created in AWS but it's not.

Investigation: I've checked code responsible for creating lambda in https://github.com/artilleryio/artillery/blob/main/packages/artillery/lib/platform/aws-lambda/index.js but I couldn't see support for Tags in it so it may be it :)