File tree 2 files changed +11
-8
lines changed
2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,6 @@ data "aws_iam_policy_document" "codebuild_policy_document" {
11
11
" s3:Put*" ,
12
12
" s3:DeleteObject" ,
13
13
" s3:DeleteObjectVersion" ,
14
- " ecs:*" ,
15
- " ecr:*" ,
16
- " apigateway:*" ,
17
- " elasticloadbalancing:*" ,
18
- " iam:DeleteGroupMembership" ,
19
- " iam:DetachRolePolicy" ,
20
- " iam:DeletePolicy"
21
14
]
22
15
resources = [
23
16
" arn:aws:s3:::homebrew-terraform-state/*" ,
@@ -29,7 +22,12 @@ data "aws_iam_policy_document" "codebuild_policy_document" {
29
22
effect = " Allow"
30
23
actions = [
31
24
" iam:*" ,
32
- " sso:TagResource"
25
+ " sso:TagResource" ,
26
+ " ecs:*" ,
27
+ " ecr:*" ,
28
+ " apigateway:*" ,
29
+ " elasticloadbalancing:*" ,
30
+ " identitystore:*"
33
31
]
34
32
resources = [" *" ]
35
33
}
Original file line number Diff line number Diff line change @@ -45,3 +45,8 @@ import {
45
45
to = module. aws . aws_iam_openid_connect_provider . github_actions
46
46
id = " arn:aws:iam::765021812025:oidc-provider/token.actions.githubusercontent.com"
47
47
}
48
+
49
+ import {
50
+ to = module. aws . aws_iam_role . github_tf
51
+ id = " GitHubActionsRole"
52
+ }
You can’t perform that action at this time.
0 commit comments