Skip to content

Commit

Permalink
fix: adding missing permissions to boundaries (#3873)
Browse files Browse the repository at this point in the history
`setup-iam-permissions`: add missing `iam:TagInstanceProfile` required
for `aws_iam_instance_profile "runner"`

The `aws_iam_instance_profile` resource in
https://github.com/philips-labs/terraform-aws-github-runner/blob/74471de59ac97748581612efa62c3950344916f4/modules/runners/policies-runner.tf#L11-L16
requires the `iam:TagInstanceProfile` permission.

Co-authored-by: Niek Palm <[email protected]>
  • Loading branch information
gnawhleinad and npalm authored May 17, 2024
1 parent 9b4937c commit 93e8d27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/setup-iam-permissions/policies/deploy-boundary.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@
"iam:RemoveRoleFromInstanceProfile",
"iam:DeleteInstanceProfile",
"iam:AddRoleToInstanceProfile",
"iam:GetInstanceProfile"
"iam:GetInstanceProfile",
"iam:TagInstanceProfile"
],
"Resource": "arn:${aws_partition}:iam::${account_id}:instance-profile/${instance_profile_namespace}/*"
},
Expand Down

0 comments on commit 93e8d27

Please sign in to comment.