Skip to content

Commit 5dd3b81

Browse files
committed
[ELI-702] narrowing scope for some permissions
1 parent 99b23a9 commit 5dd3b81

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

infrastructure/stacks/iams-developer-roles/github_actions_policies.tf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -836,6 +836,15 @@ resource "aws_iam_policy" "code_signing_management" {
836836
],
837837
Resource = "*"
838838
},
839+
{
840+
Sid = "LambdaFunctionSigningManagement",
841+
Effect = "Allow",
842+
Action = [
843+
"lambda:DeleteFunctionCodeSigningConfig",
844+
"lambda:PutFunctionCodeSigningConfig"
845+
],
846+
Resource = "arn:aws:lambda:*:${data.aws_caller_identity.current.account_id}:function:eligibility_signposting_api"
847+
},
839848
{
840849
Sid = "SignerProfileManagement"
841850
Effect = "Allow"

0 commit comments

Comments
 (0)