From 2ade67acb9372e830319f8ed66eeb005781e7428 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Ca=C3=B1uelo?= Date: Tue, 29 Oct 2024 15:20:59 +0100 Subject: [PATCH] resctl-bench: docs: add policy snippet for ssm:GetParameter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ricardo CaƱuelo --- resctl-bench/doc/lambda.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/resctl-bench/doc/lambda.md b/resctl-bench/doc/lambda.md index 411099b..0e1ad48 100644 --- a/resctl-bench/doc/lambda.md +++ b/resctl-bench/doc/lambda.md @@ -98,6 +98,22 @@ We use github app `iocost-issue-creater` to file a github issue, thus it's crede } ``` +Now we need to grant permissions to the role for accessing these +parameters: + +``` +{ + "Version": "2012-10-17", + "Statement": [ + { + "Effect": "Allow", + "Action": "ssm:GetParameter", + "Resource": "*" + } + ] +} +``` + AWS lambda flow =============== 1. User generates the benchmark result on their device.