https://github.com/janritter/aws-lambda-power-tuning-executor
Script to easily execute the AWS Lamba Power Tuning state machine with different config files
https://github.com/janritter/aws-lambda-power-tuning-executor
Last synced: 3 months ago
JSON representation
Script to easily execute the AWS Lamba Power Tuning state machine with different config files
- Host: GitHub
- URL: https://github.com/janritter/aws-lambda-power-tuning-executor
- Owner: janritter
- Created: 2021-01-04T22:24:43.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-18T22:02:44.000Z (3 months ago)
- Last Synced: 2025-03-18T23:21:55.665Z (3 months ago)
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AWS Lambda Power Tuning Executor
> Script to easily execute the [AWS Lamba Power Tuning state machine](https://github.com/alexcasalboni/aws-lambda-power-tuning) with different config files
## Prerequisites
- Python3
- Pip
- Lambda Power Tuning tool installed in AWS (see [how to deploy](https://github.com/alexcasalboni/aws-lambda-power-tuning/blob/33fda7d77abadc660cb1a7869d5d47e5869fdda1/README-DEPLOY.md))## Setup
### Create venv
```bash
python3 -m venv env
```### Activate venv
```bash
source ./env/bin/activate
```### Install requirements
```bash
pip3 install -r requirements.txt
```## Usage
1. Login to the account containing the Lambda Power Tuning tool
2. Execute the Lambda Power Tuning tool (replace the stack-name flag with your stack name)
1. ```bash
python3 executor.py --stack-name serverlessrepo-lambda-power-tuner --config my-test.json
```A documentation for the input configuration can be found [here](https://github.com/alexcasalboni/aws-lambda-power-tuning/blob/master/README-INPUT-OUTPUT.md#user-content-state-machine-input)