From c125f3d0cd77a54707c49b39ab0045a6f848b3cd Mon Sep 17 00:00:00 2001 From: Dominik Melnarowicz Date: Fri, 19 May 2023 09:53:54 +0200 Subject: [PATCH] add lacking policy --- template.yml | 1 + terraform/module/json_files/optimizer.json | 1 + 2 files changed, 2 insertions(+) diff --git a/template.yml b/template.yml index 446e5f8..e074841 100644 --- a/template.yml +++ b/template.yml @@ -240,6 +240,7 @@ Resources: - lambda:GetAlias - lambda:PublishVersion - lambda:UpdateFunctionConfiguration + - lambda:GetFunctionConfiguration - lambda:CreateAlias - lambda:UpdateAlias Resource: !Ref lambdaResource diff --git a/terraform/module/json_files/optimizer.json b/terraform/module/json_files/optimizer.json index 57c7119..7676fce 100644 --- a/terraform/module/json_files/optimizer.json +++ b/terraform/module/json_files/optimizer.json @@ -7,6 +7,7 @@ "lambda:GetAlias", "lambda:PublishVersion", "lambda:UpdateFunctionConfiguration", + "lambda:GetFunctionConfiguration", "lambda:CreateAlias", "lambda:UpdateAlias" ],