Skip to content

Commit 60ff864

Browse files
committed
Add Prerequisites
1 parent 8d7ac50 commit 60ff864

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ A CLI tool to statically analyze the initialization time, known as cold-start, o
66

77
<img src="https://raw.githubusercontent.com/exoego/cold-stat/main/doc/img.png" width="855" height="104" />
88

9+
## Prerequisites
10+
11+
- Rust toolchain is required to install the tool
12+
- AWS credential is required to access AWS
13+
- Following actions must be granted in IAM policy
14+
- `lambda:GetFunctionConfiguration` to fetch the current env vars of the function
15+
- `Lambda.UpdateFunctionConfiguration` to update the env vars of the function, to force cold-start
16+
- `lambda:InvokeFunction` to invoke tha function
17+
- `logs:StartQuery` to query CloudWatch Logs for cold start analysis
18+
919
## Installation
1020

1121
```bash

0 commit comments

Comments
 (0)