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 @@ -145,6 +145,8 @@ resource "aws_iam_policy" "s3_management" {
145145 " s3:PutBucketVersioning" ,
146146 " s3:PutBucketPublicAccessBlock" ,
147147 " s3:PutBucketLogging" ,
148+ " s3:GetObjectTagging" ,
149+ " s3:PutObjectTagging" ,
148150 ],
149151 Resource = [
150152 " arn:aws:s3:::*eligibility-signposting-api-${ var . environment } -eli-rules" ,
@@ -184,12 +186,8 @@ resource "aws_iam_policy" "api_infrastructure" {
184186 " ec2:Describe*" ,
185187 " ec2:DescribeVpcs" ,
186188 " acm:ListCertificates" ,
187- " apigateway:CreateRestApi" ,
188- " apigateway:PUT" ,
189- " apigateway:POST" ,
190- " apigateway:PATCH" ,
191- " apigateway:GET" ,
192- " apigateway:UpdateAccount" ,
189+ " apigateway:*" ,
190+ " iam:PassRole" ,
193191 ],
194192 Resource = " *"
195193 # checkov:skip=CKV_AWS_289: Actions require wildcard resource
You can’t perform that action at this time.
0 commit comments