File tree Expand file tree Collapse file tree
infrastructure/stacks/iams-developer-roles Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -731,7 +731,7 @@ resource "aws_iam_policy" "code_signing_management" {
731731 " lambda:DeleteFunctionCodeSigningConfig" ,
732732 " lambda:PutFunctionCodeSigningConfig"
733733 ],
734- Resource = " * "
734+ Resource = " arn:aws:lambda:*: ${ data . aws_caller_identity . current . account_id } :function:eligibility_signposting_api:* " ,
735735 },
736736 {
737737 Sid = " SignerJobUsage" ,
@@ -740,7 +740,7 @@ resource "aws_iam_policy" "code_signing_management" {
740740 " signer:StartSigningJob" ,
741741 " signer:DescribeSigningJob"
742742 ],
743- Resource = " *"
743+ Resource = " arn:aws:signer: ${ var . default_aws_region } : ${ data . aws_caller_identity . current . account_id } :/signing-jobs/ *"
744744 },
745745 {
746746 Sid = " SignerProfileManagement" ,
@@ -755,7 +755,7 @@ resource "aws_iam_policy" "code_signing_management" {
755755 " signer:CancelSigningProfile" ,
756756 " signer:RevokeSignature"
757757 ],
758- Resource = " *"
758+ Resource = " arn:aws:signer: ${ var . default_aws_region } : ${ data . aws_caller_identity . current . account_id } :/signing-profiles/eligibility-signposting-api- *"
759759 }
760760 ]
761761 })
You can’t perform that action at this time.
0 commit comments