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

feat(test): test IAM setup with CF templates on fresh account #3262

Open InesNi opened 4 months ago

InesNi commented 4 months ago

Description

Two main changes:

1. Merging the two CF templates used for GitHub OIDC IAM setup into one template.

This way the IAM role created will have permission needed to run tests on both Lambda and Fargate, and only one Launch Stack button will be needed in our GitHub Actions guide.

2. Adding automated tests for CloudFormation (CF) templates

Testing that the IAM role created from the github-oidc.yml CF template has the correct permissions to be able to run Artillery tests on Lambda and Fargate and that the OIDC is set correctly.

Pre-merge checklist